Skip to content

Commit b22a946

Browse files
Vunovatitargos
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 1d6ee8b commit b22a946

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
@@ -364,7 +364,7 @@ function initializePolicy() {
364364
const realIntegrities = new Map();
365365
const integrityEntries = SRI.parse(experimentalPolicyIntegrity);
366366
let foundMatch = false;
367-
for (var i = 0; i < integrityEntries.length; i++) {
367+
for (let i = 0; i < integrityEntries.length; i++) {
368368
const {
369369
algorithm,
370370
value: expected

0 commit comments

Comments
 (0)