summaryrefslogtreecommitdiff
path: root/lib/fs.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fs.js')
-rw-r--r--lib/fs.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/fs.js b/lib/fs.js
index 1a720f6181..335b164483 100644
--- a/lib/fs.js
+++ b/lib/fs.js
@@ -1452,7 +1452,7 @@ function realpathSync(p, options) {
let pos;
// the partial path so far, including a trailing slash if any
let current;
- // the partial path without a trailing slash (except when pointing at a root)
+ // The partial path without a trailing slash (except when pointing at a root)
let base;
// the partial path scanned in the previous round, with slash
let previous;
@@ -1469,7 +1469,7 @@ function realpathSync(p, options) {
knownHard[base] = true;
}
- // walk down the path, swapping out linked path parts for their real
+ // Walk down the path, swapping out linked path parts for their real
// values
// NB: p.length changes.
while (pos < p.length) {
@@ -1592,7 +1592,7 @@ function realpath(p, options, callback) {
let pos;
// the partial path so far, including a trailing slash if any
let current;
- // the partial path without a trailing slash (except when pointing at a root)
+ // The partial path without a trailing slash (except when pointing at a root)
let base;
// the partial path scanned in the previous round, with slash
let previous;
@@ -1611,7 +1611,7 @@ function realpath(p, options, callback) {
process.nextTick(LOOP);
}
- // walk down the path, swapping out linked path parts for their real
+ // Walk down the path, swapping out linked path parts for their real
// values
function LOOP() {
// stop if scanned past end of path