Remove outdated ignores (#162773)
Powered by the new and amazing `unnecessary_ignore` lint. We're not enabling this lint by default because being able to temporarily use ignores that don't ignore anything is a powerful tool to enable migrations. We should turn this lint on locally periodically, though, and clean up all outdated ignores.
This commit is contained in:
committed by
GitHub
parent
5944d992ac
commit
c783ce2344
@@ -263,7 +263,6 @@ SampleStats getSampleStats(SourceElement element) {
|
||||
|
||||
/// Exit the app with a message to stderr.
|
||||
/// Can be overridden by tests to avoid exits.
|
||||
// ignore: prefer_function_declarations_over_variables
|
||||
void Function(String message) errorExit = (String message) {
|
||||
io.stderr.writeln(message);
|
||||
io.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user