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‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,7 @@ exports.allowGlobals = allowGlobals;
428428
functionleakedGlobals(){
429429
constleaked=[];
430430

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

0 commit comments

Comments
(0)