Remove unnecessary null checks in dev/bots (#118846)
This commit is contained in:
committed by
GitHub
parent
70cecf6c9e
commit
c757df3bfa
@@ -924,7 +924,7 @@ class _SnippetChecker {
|
||||
continue;
|
||||
}
|
||||
|
||||
final _SnippetFile snippet = snippets[file.path]!;
|
||||
final _SnippetFile? snippet = snippets[file.path];
|
||||
if (snippet == null) {
|
||||
errors.add(_SnippetCheckerException(
|
||||
"Unknown section for ${file.path}. Maybe the temporary directory wasn't empty?",
|
||||
|
||||
Reference in New Issue
Block a user