Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0b64e45

Browse filesBrowse 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
Copy full SHA for 0b64e45

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎lib/internal/process/main_thread_only.js‎

Copy file name to clipboardExpand all lines: lib/internal/process/main_thread_only.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.