Internal: actually fail/exit when flow fails
This commit is contained in:
parent
526151c580
commit
fff27b458f
@ -9,7 +9,7 @@ binVersionCheck("npm", ">=3.3.0", function (err) {
|
|||||||
console.log("Running ./node_modules/.bin/flow check");
|
console.log("Running ./node_modules/.bin/flow check");
|
||||||
var cmd = child.spawn("./node_modules/.bin/flow", ["check"], { stdio: "inherit" });
|
var cmd = child.spawn("./node_modules/.bin/flow", ["check"], { stdio: "inherit" });
|
||||||
cmd.on("exit", function(code) {
|
cmd.on("exit", function(code) {
|
||||||
console.log(code);
|
process.exit(code);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user