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 2d6b337

Browse filesBrowse files
joyeecheungtargos
authored andcommitted
process: remove unused arguments in setup()
PR-URL: #21377 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent c214403 commit 2d6b337
Copy full SHA for 2d6b337

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

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

‎lib/internal/bootstrap/node.js‎

Copy file name to clipboardExpand all lines: lib/internal/bootstrap/node.js
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@
5353
_setupPromises);
5454
NativeModule.require('internal/process/stdio').setup();
5555
NativeModule.require('internal/process/methods').setup(_chdir,
56-
_cpuUsage,
57-
_hrtime,
58-
_memoryUsage,
59-
_rawDebug,
6056
_umask,
6157
_initgroups,
6258
_setegid,
Collapse file

‎lib/internal/process/methods.js‎

Copy file name to clipboardExpand all lines: lib/internal/process/methods.js
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ const {
44
isMainThread
55
} = require('internal/worker');
66

7-
function setupProcessMethods(_chdir, _cpuUsage, _hrtime, _memoryUsage,
8-
_rawDebug, _umask, _initgroups, _setegid,
7+
function setupProcessMethods(_chdir, _umask, _initgroups, _setegid,
98
_seteuid, _setgid, _setuid, _setgroups) {
109
// Non-POSIX platforms like Windows don't have certain methods.
1110
// Workers also lack these methods since they change process-global state.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.