Skip to content

Commit

Permalink
fix(build): ignore dart warnings The name … is shown, but not used
Browse files Browse the repository at this point in the history
See #8044

Closes #8045
  • Loading branch information
tbosch committed Apr 13, 2016
1 parent 60727c4 commit 01e6b8c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/build/dartanalyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@ _AnalyzerOutputLine.prototype = {
if (this.isHint && this.sourcePath.match(/generated/i)) {
return true;
}

if (this.errorCode.match(/UNUSED_SHOWN_NAME/i)) {
// TODO: Narrow this ignore down to test code only.
// See https://github.com/angular/angular/issues/8044
return true;
}
return false;
},

Expand Down

0 comments on commit 01e6b8c

Please sign in to comment.