Skip to content

Commit c5fd1f3

Browse files
committed
Merge pull request microsoft#5051 from weswigham/for-the-glory-of-the-linter
Make build actually fail on lint fail
2 parents 0903a95 + 8711493 commit c5fd1f3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Jakefile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,7 @@ task("lint", ["build-rules"], function() {
869869
var result = lintFile(lintOptions, lintTargets[i]);
870870
if (result.failureCount > 0) {
871871
console.log(result.output);
872+
fail('Linter errors.', result.failureCount);
872873
}
873874
}
874875
});

0 commit comments

Comments
 (0)