json-diff cli always returns error shell status code
elgalu opened this issue · 2 comments
elgalu commented
json-diff ....
echo $?
#=> 1
elgalu commented
Ah exit 1 here, should be 0
https://github.com/andreyvit/json-diff/blob/master/lib/cli.coffee#L48
ewoudenberg commented
Resolved in 0.6.1 -- always returns exit code 0 if it does any work. If there's an error or the help message is output we exit with non-zero.