From 20a2eb3161ebbe20812139ab86b5f266f0efec34 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 4 Dec 2016 18:30:09 +0300 Subject: [PATCH] Fixed moonc exited without error code 0 error --- lib/linter-moonscript.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linter-moonscript.coffee b/lib/linter-moonscript.coffee index 50fad42..17794d0 100644 --- a/lib/linter-moonscript.coffee +++ b/lib/linter-moonscript.coffee @@ -25,7 +25,7 @@ class LinterMoonscript stderr = (err) -> output.push err exit = (code) => - if code is 0 + if code is 0 or 1 messages = @parse options.cwd, output.join '' resolve messages else