Temporarily remove a bogus warning until fixed by dwds update (#109793)
* Temporarily remove a bogus warning until fixed by dwds update * Addressed CR feedback
This commit is contained in:
parent
dcdd3e2b09
commit
3b6e3a6938
@ -1042,7 +1042,12 @@ void log(logging.LogRecord event) {
|
||||
if (event.level >= logging.Level.SEVERE) {
|
||||
globals.printError('${event.loggerName}: ${event.message}$error', stackTrace: event.stackTrace);
|
||||
} else if (event.level == logging.Level.WARNING) {
|
||||
// Note: Temporary fix for https://github.com/flutter/flutter/issues/109792
|
||||
// TODO(annagrin): Remove the condition after the bogus warning is
|
||||
// removed in dwds: https://github.com/dart-lang/webdev/issues/1722
|
||||
if (!event.message.contains('No module for')) {
|
||||
globals.printWarning('${event.loggerName}: ${event.message}$error');
|
||||
}
|
||||
} else {
|
||||
globals.printTrace('${event.loggerName}: ${event.message}$error');
|
||||
}
|
||||
|
@ -23,6 +23,7 @@ void main() {
|
||||
flutter = FlutterRunTestDriver(tempDir);
|
||||
flutter.stdout.listen((String line) {
|
||||
expect(line, isNot(contains('Unresolved uri:')));
|
||||
expect(line, isNot(contains('No module for')));
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user