Skip to content

Commit 0b64e45

Browse files
matijagasparaddaleax
authored andcommitted
lib: main_thread_only change var to let
PR-URL: #30398 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent d024630 commit 0b64e45

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
@@ -77,7 +77,7 @@ function wrapPosixCredentialSetters(credentials) {
7777
if (!Array.isArray(groups)) {
7878
throw new ERR_INVALID_ARG_TYPE('groups', 'Array', groups);
7979
}
80-
for (var i = 0; i < groups.length; i++) {
80+
for (let i = 0; i < groups.length; i++) {
8181
validateId(groups[i], `groups[${i}]`);
8282
}
8383
// Result is 0 on success. A positive integer indicates that the

0 commit comments

Comments
 (0)