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;
|
var hintCount = 0;
|
||||||
rl.on('line', function(line) {
|
rl.on('line', function(line) {
|
||||||
if (line.match(/Unused import .*_analyzer\.dart/)) {
|
if (line.match(/Unused import/)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (line.match(/\[hint\]/)) {
|
if (line.match(/\[hint\]/)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user