Skip to content

Commit 1f762ef

Browse files
authored
always exit with non-zero if a command throws an error (#799)
1 parent 97fe81a commit 1f762ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/observable.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ try {
235235
}
236236
}
237237
}
238+
process.exit(1);
238239
}
239240

240241
// A wrapper for parseArgs that adds --help functionality with automatic usage.

0 commit comments

Comments
 (0)