Enable no_leading_underscores_for_local_identifiers (#96422)

This commit is contained in:
Michael Goderbauer
2022-01-21 14:43:59 -08:00
committed by GitHub
parent 53ca7f684a
commit 5684b9f69e
89 changed files with 948 additions and 949 deletions

View File

@@ -351,7 +351,7 @@ class BlinkTraceSummary {
averageBeginFrameTime: _computeAverageDuration(frames.map((BlinkFrame frame) => frame.beginFrame).whereType<BlinkTraceEvent>().toList()),
averageUpdateLifecyclePhasesTime: _computeAverageDuration(frames.map((BlinkFrame frame) => frame.updateAllLifecyclePhases).whereType<BlinkTraceEvent>().toList()),
);
} catch (_, __) {
} catch (_) {
final io.File traceFile = io.File('./chrome-trace.json');
io.stderr.writeln('Failed to interpret the Chrome trace contents. The trace was saved in ${traceFile.path}');
traceFile.writeAsStringSync(const JsonEncoder.withIndent(' ').convert(traceJson));