syndicatec: exit status 1 on error
This commit is contained in:
parent
43f6bd39ea
commit
e27e028d8c
|
@ -8,6 +8,8 @@ function compileAndPrint(inputSource) {
|
|||
var translatedSource = compiler.compileSyndicateSource(inputSource);
|
||||
if (translatedSource) {
|
||||
console.log(translatedSource);
|
||||
} else {
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue