Skip to content

Commit 3693007

Browse files
committed
Flow; return correct error code for third party tools to catch errors
1 parent daee4db commit 3693007

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

run.n

180 Bytes
Binary file not shown.

src/Flow.hx

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ class Flow {
4040
//then give node the script name
4141
sys_args.unshift(node_script);
4242

43-
//run it
44-
Sys.command(node_path, sys_args);
43+
//run and return result
44+
Sys.exit( Sys.command(node_path, sys_args) );
4545

4646
} //main
4747

0 commit comments

Comments
 (0)