Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Dec 3, 2024
1 parent 485d052 commit 0f3f53d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/computed/metrics/lantern-metric.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ async function getComputationDataParamsFromTrace(data, context) {
const graph = await PageDependencyGraph.request({...data, fromTrace: true}, context);
const traceEngineResult = await TraceEngineResult.request(data, context);
const frameId = traceEngineResult.parsedTrace.Meta.mainFrameId;
const navigationId = traceEngineResult.parsedTrace.Meta.mainFrameNavigations[0].args.data.navigationId;
const navigationId = traceEngineResult.parsedTrace.Meta.mainFrameNavigations[0]
.args.data.navigationId;
const processedNavigation = Lantern.TraceEngineComputationData.createProcessedNavigation(
traceEngineResult.parsedTrace, frameId, navigationId);
const simulator = data.simulator || (await LoadSimulator.request(data, context));
Expand Down

0 comments on commit 0f3f53d

Please sign in to comment.