From f6fd263cbda7437f77be26c677ab59649c2f9aa5 Mon Sep 17 00:00:00 2001 From: Arnavion Date: Fri, 12 Dec 2014 08:49:21 -0800 Subject: [PATCH] Actually fail the surrounding jake task on errors in compileFile() --- Jakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jakefile b/Jakefile index 89586e8ca62..11dd7c048df 100644 --- a/Jakefile +++ b/Jakefile @@ -242,7 +242,7 @@ function compileFile(outFile, sources, prereqs, prefixes, useBuiltCompiler, noOu }); ex.addListener("error", function() { fs.unlinkSync(outFile); - console.log("Compilation of " + outFile + " unsuccessful"); + fail("Compilation of " + outFile + " unsuccessful"); }); ex.run(); }, {async: true});