Skip to content

Commit

Permalink
cluster: fix comment regarding child_process file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
yashLadha authored and jasnell committed Aug 25, 2021
1 parent 4441c3e commit 2acd866
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/internal/cluster/utils.js
Expand Up @@ -17,7 +17,8 @@ function sendHelper(proc, message, handle, cb) {
if (!proc.connected)
return false;

// Mark message as internal. See INTERNAL_PREFIX in lib/child_process.js
// Mark message as internal. See INTERNAL_PREFIX
// in lib/internal/child_process.js
message = { cmd: 'NODE_CLUSTER', ...message, seq };

if (typeof cb === 'function')
Expand Down

0 comments on commit 2acd866

Please sign in to comment.