Skip to content

Commit

Permalink
del old var
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Dec 6, 2023
1 parent 3dbc9e8 commit 957c909
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/audits/byte-efficiency/duplicated-javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,17 +131,14 @@ class DuplicatedJavascript extends ByteEfficiencyAudit {
await DuplicatedJavascript._getDuplicationGroupedByNodeModules(artifacts, context);

/** @type {Map<string, number>} */
const transferRatioByUrl = new Map();
const compressionRatioByUrl = new Map();

/** @type {Item[]} */
const items = [];

let overflowWastedBytes = 0;
const overflowUrls = new Set();

/** @type {Map<string, number>} */
const compressionRatioByUrl = new Map();

/** @type {Map<string, number>} */
const wastedBytesByUrl = new Map();
for (const [source, sourceDatas] of duplication.entries()) {
Expand Down

0 comments on commit 957c909

Please sign in to comment.