Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Commit

Permalink
Fix task failure upon warnings only (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
cartant authored and nchen63 committed Apr 7, 2017
1 parent 90d99da commit 4724f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/tslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ module.exports = function (grunt) {
}, function (err, success) {
if (err) {
done(err);
} else if (success && warnings === 0) {
} else if (success) {
var okMessage;
if (warnings === 0) {
okMessage = this.filesSrc.length + " " +
Expand Down

0 comments on commit 4724f1d

Please sign in to comment.