fix(build): ignore dart warnings `The name … is shown, but not used`
See https://github.com/angular/angular/issues/8044 Closes #8045
This commit is contained in:
parent
60727c4d2b
commit
01e6b8c7ed
|
@ -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;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue