Ignore body_might_complete_normally_catch_error violations (#105795)
This commit is contained in:
@@ -297,7 +297,11 @@ Future<ProcessTestResult> runFlutter(
|
||||
}
|
||||
process.stdin.write('q');
|
||||
return -1; // discarded
|
||||
}).catchError((Object error) { /* ignore errors here, they will be reported on the next line */ }));
|
||||
})
|
||||
// TODO(srawlins): Fix this static issue,
|
||||
// https://github.com/flutter/flutter/issues/105750.
|
||||
// ignore: body_might_complete_normally_catch_error
|
||||
.catchError((Object error) { /* ignore errors here, they will be reported on the next line */ }));
|
||||
final int exitCode = await process.exitCode;
|
||||
if (streamingLogs) {
|
||||
debugPrint('${stamp()} (process terminated with exit code $exitCode)');
|
||||
|
||||
Reference in New Issue
Block a user