Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit fd0c52f

Browse files
committed
Exit with 1 when check fails
1 parent 4772b59 commit fd0c52f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/npmdc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
require 'bundler/setup'
44
require 'npmdc/cli'
55

6-
Npmdc::Cli.start(ARGV)
6+
result = Npmdc::Cli.start(ARGV)
7+
exit(result ? 0 : 1)

0 commit comments

Comments
 (0)