From e27e028d8c2488fb02464b61f8b0ed3de81139ac Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Tue, 17 May 2016 13:26:50 -0400 Subject: [PATCH] syndicatec: exit status 1 on error --- js/bin/syndicatec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/bin/syndicatec b/js/bin/syndicatec index f7311d0..e8ade97 100755 --- a/js/bin/syndicatec +++ b/js/bin/syndicatec @@ -8,6 +8,8 @@ function compileAndPrint(inputSource) { var translatedSource = compiler.compileSyndicateSource(inputSource); if (translatedSource) { console.log(translatedSource); + } else { + process.exit(1); } }