Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-01-21 03:22:27 +0300
committerRuben Bridgewater <ruben@bridgewater.de>2019-02-28 20:31:10 +0300
commit9edce1e12a7b69e7986dd15fce18d6e46590161a (patch)
treec5d37d8016a27bab698520ecc51cda4f7ad99d40 /lib/internal/child_process.js
parent7b674697d8005c29391ebaaf562eb4d92ed9b129 (diff)
benchmark,doc,lib,test: capitalize comments
This updates a lot of comments. PR-URL: https://github.com/nodejs/node/pull/26223 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Diffstat (limited to 'lib/internal/child_process.js')
-rw-r--r--lib/internal/child_process.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/internal/child_process.js b/lib/internal/child_process.js
index edbf396cf54..070acd70b7a 100644
--- a/lib/internal/child_process.js
+++ b/lib/internal/child_process.js
@@ -99,7 +99,7 @@ const handleConversion = {
// if the socket was created by net.Server
if (socket.server) {
- // the worker should keep track of the socket
+ // The worker should keep track of the socket
message.key = socket.server._connectionKey;
var firstTime = !this.channel.sockets.send[message.key];
@@ -384,15 +384,15 @@ ChildProcess.prototype.spawn = function(options) {
continue;
}
- // stream is already cloned and piped, so close
+ // The stream is already cloned and piped, thus close it.
if (stream.type === 'wrap') {
stream.handle.close();
continue;
}
if (stream.handle) {
- // when i === 0 - we're dealing with stdin
- // (which is the only one writable pipe)
+ // When i === 0 - we're dealing with stdin
+ // (which is the only one writable pipe).
stream.socket = createSocket(this.pid !== 0 ?
stream.handle : null, i > 0);