chore: change the built task to ignore "unused import" errors
This commit is contained in:
parent
e15bcf0ffd
commit
b87891d77c
|
@ -214,7 +214,7 @@ gulp.task('analyze/dartanalyzer', function(done) {
|
|||
});
|
||||
var hintCount = 0;
|
||||
rl.on('line', function(line) {
|
||||
if (line.match(/Unused import .*_analyzer\.dart/)) {
|
||||
if (line.match(/Unused import/)) {
|
||||
return;
|
||||
}
|
||||
if (line.match(/\[hint\]/)) {
|
||||
|
|
Loading…
Reference in New Issue