Skip to content

Commit becd89f

Browse files
authored
Merge pull request #346 from maxharlow/master
Promise needs to be returned
2 parents be7e3cb + 27da357 commit becd89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/docker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ Docker.prototype.buildImage = function(file, opts, callback) {
302302
pack.finalize();
303303
pack.pipe(zlib.createGzip()).pipe(concat(build));
304304
} else {
305-
build(file);
305+
return build(file);
306306
}
307307
};
308308

0 commit comments

Comments
 (0)