Skip to content

Commit 7e7a816

Browse files
Vunovatiaddaleax
authored andcommitted
test: replace var with let in pre_execution.js
PR-URL: #30411 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 0fd89cc commit 7e7a816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/bootstrap/pre_execution.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ function initializePolicy() {
372372
const realIntegrities = new Map();
373373
const integrityEntries = SRI.parse(experimentalPolicyIntegrity);
374374
let foundMatch = false;
375-
for (var i = 0; i < integrityEntries.length; i++) {
375+
for (let i = 0; i < integrityEntries.length; i++) {
376376
const {
377377
algorithm,
378378
value: expected

0 commit comments

Comments
 (0)