Skip to content

Commit 8edde98

Browse files
BridgeARaddaleax
authored andcommitted
test: change var to const in ./common
PR-URL: #13732 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent 7ed7b22 commit 8edde98

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/common/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,7 @@ exports.allowGlobals = allowGlobals;
428428
function leakedGlobals() {
429429
const leaked = [];
430430

431-
// eslint-disable-next-line no-var
432-
for (var val in global) {
431+
for (const val in global) {
433432
if (!knownGlobals.includes(global[val])) {
434433
leaked.push(val);
435434
}

0 commit comments

Comments
 (0)