Skip to content

Commit b35f83e

Browse files
juanarbolcodebytere
authored andcommitted
doc: fix typo on fs docs
PR-URL: #31620 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 2ff812c commit b35f83e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/fs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1960,7 +1960,7 @@ Node.js callbacks. `fs.existsSync()` does not use a callback.
19601960

19611961
```js
19621962
if (fs.existsSync('/etc/passwd')) {
1963-
console.log('The file exists.');
1963+
console.log('The path exists.');
19641964
}
19651965
```
19661966

0 commit comments

Comments
 (0)