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(){
|
export let build = function(){
|
||||||
let done = plugins.q.defer();
|
let done = plugins.q.defer();
|
||||||
plugins.gulp.dest("./Dockerfile*")
|
plugins.gulp.dest("./Dockerfile*")
|
||||||
.pipe(readDockerfiles)
|
.pipe(readDockerfiles())
|
||||||
.pipe(plugins.gulpFunction(function(){
|
.pipe(plugins.gulpFunction(function(){
|
||||||
sortDockerfiles()
|
sortDockerfiles()
|
||||||
.then(buildDockerfiles)
|
.then(buildDockerfiles)
|
||||||
@ -15,7 +15,7 @@ export let build = function(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
let readDockerfiles = function(){
|
let readDockerfiles = function(){
|
||||||
return function(file,enc,cb){
|
return plugins.trhough2(function(file,enc,cb){
|
||||||
let myDockerfile = new Dockerfile({
|
let myDockerfile = new Dockerfile({
|
||||||
filePath:file.path,
|
filePath:file.path,
|
||||||
read:true
|
read:true
|
||||||
@ -24,7 +24,7 @@ let readDockerfiles = function(){
|
|||||||
myDockerfile
|
myDockerfile
|
||||||
);
|
);
|
||||||
cb(null,file);
|
cb(null,file);
|
||||||
};
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
let sortDockerfiles = function(){
|
let sortDockerfiles = function(){
|
||||||
|
Loading…
Reference in New Issue
Block a user