summaryrefslogtreecommitdiff
path: root/lib/domain.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-03-07 01:03:53 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2019-03-10 00:44:40 +0100
commitf8763bb077db2f0be74e353c0b4f9e353c0fffa8 (patch)
treec73128074daa65d2e72e4d2a86a5b08059888144 /lib/domain.js
parent01a5300f3f4f788a043f6b5fe72e2b7b641dfb6c (diff)
downloadandroid-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.tar.gz
android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.tar.bz2
android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.zip
benchmark,doc,lib,test: capitalize comments
PR-URL: https://github.com/nodejs/node/pull/26483 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'lib/domain.js')
-rw-r--r--lib/domain.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/domain.js b/lib/domain.js
index 048e3e35ea..02709f85c0 100644
--- a/lib/domain.js
+++ b/lib/domain.js
@@ -279,7 +279,7 @@ Domain.prototype.exit = function() {
var index = stack.lastIndexOf(this);
if (index === -1) return;
- // exit all domains until this one.
+ // Exit all domains until this one.
stack.splice(index);
exports.active = stack[stack.length - 1];
@@ -294,7 +294,7 @@ Domain.prototype.add = function(ee) {
if (ee.domain === this)
return;
- // has a domain already - remove it first.
+ // Has a domain already - remove it first.
if (ee.domain)
ee.domain.remove(ee);