fix
This commit is contained in:
parent
5917c63836
commit
9d4c8ce68b
8
dist/npmci.build.docker.js
vendored
8
dist/npmci.build.docker.js
vendored
File diff suppressed because one or more lines are too long
@ -5,7 +5,7 @@ import * as NpmciEnv from "./npmci.env";
|
||||
export let build = function(){
|
||||
let done = plugins.q.defer();
|
||||
plugins.gulp.dest("./Dockerfile*")
|
||||
.pipe(readDockerfiles)
|
||||
.pipe(readDockerfiles())
|
||||
.pipe(plugins.gulpFunction(function(){
|
||||
sortDockerfiles()
|
||||
.then(buildDockerfiles)
|
||||
@ -15,7 +15,7 @@ export let build = function(){
|
||||
}
|
||||
|
||||
let readDockerfiles = function(){
|
||||
return function(file,enc,cb){
|
||||
return plugins.trhough2(function(file,enc,cb){
|
||||
let myDockerfile = new Dockerfile({
|
||||
filePath:file.path,
|
||||
read:true
|
||||
@ -24,7 +24,7 @@ let readDockerfiles = function(){
|
||||
myDockerfile
|
||||
);
|
||||
cb(null,file);
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
let sortDockerfiles = function(){
|
||||
|
Loading…
Reference in New Issue
Block a user