Unverified Commit 3b6e3a69 authored by Anna Gringauze's avatar Anna Gringauze Committed by GitHub

Temporarily remove a bogus warning until fixed by dwds update (#109793)

* Temporarily remove a bogus warning until fixed by dwds update

* Addressed CR feedback
parent dcdd3e2b
......@@ -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')));
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment