Skip to content

Commit f6fd263

Browse files
author
Arnavion
committed
Actually fail the surrounding jake task on errors in compileFile()
1 parent 001e29c commit f6fd263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function compileFile(outFile, sources, prereqs, prefixes, useBuiltCompiler, noOu
242242
});
243243
ex.addListener("error", function() {
244244
fs.unlinkSync(outFile);
245-
console.log("Compilation of " + outFile + " unsuccessful");
245+
fail("Compilation of " + outFile + " unsuccessful");
246246
});
247247
ex.run();
248248
}, {async: true});

0 commit comments

Comments
 (0)