We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b41abb0 + 3198157 commit 03d868cCopy full SHA for 03d868c
bin/mastarm-flow
@@ -6,6 +6,7 @@ const flow = require('flow-bin')
6
const args = process.argv.slice(2)
7
if (args.length === 0) args.push('check')
8
9
-execFile(flow, args, (_, stdout) => {
+execFile(flow, args, (error, stdout) => {
10
console.log(stdout)
11
+ if (error) process.exit(1)
12
})
0 commit comments