summaryrefslogtreecommitdiff
path: root/lib/fs.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fs.js')
-rw-r--r--lib/fs.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/fs.js b/lib/fs.js
index 873e93d9cd..f992166d54 100644
--- a/lib/fs.js
+++ b/lib/fs.js
@@ -1269,7 +1269,7 @@ function appendFile(path, data, options, callback) {
// Don't make changes directly on options object
options = copyObject(options);
- // force append behavior when using a supplied file descriptor
+ // Force append behavior when using a supplied file descriptor
if (!options.flag || isFd(path))
options.flag = 'a';
@@ -1282,7 +1282,7 @@ function appendFileSync(path, data, options) {
// Don't make changes directly on options object
options = copyObject(options);
- // force append behavior when using a supplied file descriptor
+ // Force append behavior when using a supplied file descriptor
if (!options.flag || isFd(path))
options.flag = 'a';
@@ -1450,11 +1450,11 @@ function realpathSync(p, options) {
// current character position in p
let pos;
- // the partial path so far, including a trailing slash if any
+ // 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)
let base;
- // the partial path scanned in the previous round, with slash
+ // The partial path scanned in the previous round, with slash
let previous;
// Skip over roots
@@ -1590,11 +1590,11 @@ function realpath(p, options, callback) {
// current character position in p
let pos;
- // the partial path so far, including a trailing slash if any
+ // 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)
let base;
- // the partial path scanned in the previous round, with slash
+ // The partial path scanned in the previous round, with slash
let previous;
current = base = splitRoot(p);