Skip to content

Commit

Permalink
Updated index.ts and removed file.tslint.failureCount
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Mohr committed Apr 5, 2017
1 parent 2436a69 commit c0146ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Expand Up @@ -202,7 +202,7 @@ tslintPlugin.report = function(options?: ReportOptions) {
if (file.tslint) {
// Version 5.0.0 of tslint no longer has a failureCount member
// It was renamed to errorCount. See tslint issue #2439
const failureCount = file.tslint.failureCount || file.tslint.errorCount;
const failureCount = file.tslint.errorCount;

if (failureCount > 0) {
errorFiles.push(file);
Expand Down

0 comments on commit c0146ba

Please sign in to comment.