Skip to content

Commit d33ab96

Browse files
yashLadhatargos
authored andcommittedSep 6, 2021
cluster: fix comment regarding child_process file
Fixed comment for the description of INTERNAL_PREFIX in child_process whereas the value is present in the internal/child_process.js. PR-URL: #39308 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 20cf470 commit d33ab96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎lib/internal/cluster/utils.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ function sendHelper(proc, message, handle, cb) {
1717
if (!proc.connected)
1818
return false;
1919

20-
// Mark message as internal. See INTERNAL_PREFIX in lib/child_process.js
20+
// Mark message as internal. See INTERNAL_PREFIX
21+
// in lib/internal/child_process.js
2122
message = { cmd: 'NODE_CLUSTER', ...message, seq };
2223

2324
if (typeof cb === 'function')

0 commit comments

Comments
 (0)