Skip to content

Commit 90a9b34

Browse files
committed
Merge pull request microsoft#1460 from Arnavion/compilefile-fail-task-on-error
Actually fail the surrounding jake task on errors in compileFile()
2 parents 001e29c + f6fd263 commit 90a9b34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Jakefile

Lines changed: 1 addition & 1 deletion
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)