This commit is contained in:
Philipp Kunz 2016-06-05 07:17:02 +02:00
parent 5917c63836
commit 9d4c8ce68b
2 changed files with 7 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -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(){