lib: change wording in lib/internal/child_process comment · nodejs/node@21e399b

Original file line numberDiff line numberDiff line change

@@ -739,7 +739,7 @@ function setupChannel(target, channel, serializationMode) {

739739

// Non-serializable messages should not reach the remote

740740

// end point; as any failure in the stringification there

741741

// will result in error message that is weakly consumable.

742-

// So perform a sanity check on message prior to sending.

742+

// So perform a final check on message prior to sending.

743743

if (typeof message !== 'string' &&

744744

typeof message !== 'object' &&

745745

typeof message !== 'number' &&