Skip to content

Commit

Permalink
fix(build): ignore Dart warnings for external code.
Browse files Browse the repository at this point in the history
  • Loading branch information
tbosch committed Apr 20, 2016
1 parent f4e6994 commit 4140405
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/build/dartanalyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ _AnalyzerOutputLine.prototype = {
return true;
}

// Don't worry about warnings in external code.
if (this.sourcePath.match(/benchmarks_external/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
Expand Down

0 comments on commit 4140405

Please sign in to comment.