diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-05-30 16:16:59 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-05-30 16:16:59 +0200 |
commit | ac24f03ce528d393a48f716075bed3711b4b6c34 (patch) | |
tree | e926b4c850b6aa4899035a8f0509952a166bd39d /js | |
parent | Fixed ICE-7930 - python Ice/location failure (diff) | |
download | ice-ac24f03ce528d393a48f716075bed3711b4b6c34.tar.bz2 ice-ac24f03ce528d393a48f716075bed3711b4b6c34.tar.xz ice-ac24f03ce528d393a48f716075bed3711b4b6c34.zip |
Fixed JS build failure when running yarn run dist
Diffstat (limited to 'js')
-rw-r--r-- | js/gulpfile.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/gulpfile.js b/js/gulpfile.js index e6adbcad21a..2ddc4de9dcd 100644 --- a/js/gulpfile.js +++ b/js/gulpfile.js @@ -377,7 +377,7 @@ libs.forEach( gulp.task(libCleanTask(lib), [], function(){ del(libGeneratedFiles(lib, sources)); }); }); -gulp.task("dist", useBinDist ? ["dist:libs"] : +gulp.task("dist", useBinDist ? [] : libs.map(libTask).concat(libs.map(minLibTask)) .concat(libs.map(babelMinLibTask)) .concat(libs.map(babelTask))); @@ -452,7 +452,7 @@ gulp.task("test:node", (useBinDist ? ["test"] : ["build"]), } var p = require("child_process").spawn("python", args, {stdio: "inherit"}); - p.on("error", + p.on("error", function(err) { if(err.message == "spawn python ENOENT") |