Skip to content

Commit 06251a4

Browse files
matijagaspartargos
authored andcommitted
lib: main_thread_only change var to let
PR-URL: #30398 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 ff9adef commit 06251a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/process/main_thread_only.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function wrapPosixCredentialSetters(credentials) {
7676
if (!Array.isArray(groups)) {
7777
throw new ERR_INVALID_ARG_TYPE('groups', 'Array', groups);
7878
}
79-
for (var i = 0; i < groups.length; i++) {
79+
for (let i = 0; i < groups.length; i++) {
8080
validateId(groups[i], `groups[${i}]`);
8181
}
8282
// Result is 0 on success. A positive integer indicates that the

0 commit comments

Comments
 (0)