ClosureCompiler.js icon indicating copy to clipboard operation
ClosureCompiler.js copied to clipboard

Exit status for "ccjs" command

Open bitc opened this issue 10 years ago • 0 comments

When running ccjs from the command line, it will return exit status "0" (Success) even when there were errors.

It should return some other exit status to indicate an error

$ ccjs test.js && echo "SUCCESS"

... snip ...

_build/all.js:2214: ERROR - Parse error. identifier is a reserved word
      while (k < final) {
                 ^

11 error(s), 0 warning(s)
SUCCESS

bitc avatar Aug 03 '15 20:08 bitc