fix(build): ignore Dart warnings for external code.
This commit is contained in:
parent
f4e6994634
commit
41404057cf
|
@ -200,6 +200,11 @@ _AnalyzerOutputLine.prototype = {
|
||||||
return true;
|
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)) {
|
if (this.errorCode.match(/UNUSED_SHOWN_NAME/i)) {
|
||||||
// TODO: Narrow this ignore down to test code only.
|
// TODO: Narrow this ignore down to test code only.
|
||||||
// See https://github.com/angular/angular/issues/8044
|
// See https://github.com/angular/angular/issues/8044
|
||||||
|
|
Loading…
Reference in New Issue