Enable no_leading_underscores_for_local_identifiers (#96422)
This commit is contained in:
committed by
GitHub
parent
53ca7f684a
commit
5684b9f69e
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user