Skip to content

Commit b35f83e

Browse files
juanarbolcodebytere
authored andcommitted
doc: fix typo on fs docs
PR-URL: #31620 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]>
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

+1-1
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)