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 4ca0968

Browse filesBrowse files
kktyaddaleax
authored andcommitted
util: update comment in util.promisify
child_process.exec has Symbol('util.promisify.custom') in its keys and no longer has Symbol('customPromisifyArgs') in its keys, but it was still used as an example of funtions with Symbol('customPromisifyArgs'). PR-URL: #25323 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: Masashi Hirano <shisama07@gmail.com>
1 parent ca7adca commit 4ca0968
Copy full SHA for 4ca0968

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/util.js‎

Copy file name to clipboardExpand all lines: lib/internal/util.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ function promisify(original) {
282282
}
283283

284284
// Names to create an object from in case the callback receives multiple
285-
// arguments, e.g. ['stdout', 'stderr'] for child_process.exec.
285+
// arguments, e.g. ['bytesRead', 'buffer'] for fs.read.
286286
const argumentNames = original[kCustomPromisifyArgsSymbol];
287287

288288
function fn(...args) {

0 commit comments

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