Commit b1e684ea authored by Ian Hickson's avatar Ian Hickson

Fix crash in analyzer if preamble isn't set. (#3525)

parent 88d6cea7
......@@ -353,7 +353,7 @@ class AnalyzeCommand extends FlutterCommand {
});
int exitCode = await process.exitCode;
status.stop(showElapsedTime: true);
status?.stop(showElapsedTime: true);
List<Pattern> patternsToSkip = <Pattern>[
'Analyzing [${mainFile.path}]...',
......
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