Skip to content

Commit 94eb0f9

Browse files
juanarboladdaleax
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 9179141 commit 94eb0f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/api/fs.md

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

19501950
```js
19511951
if (fs.existsSync('/etc/passwd')) {
1952-
console.log('The file exists.');
1952+
console.log('The path exists.');
19531953
}
19541954
```
19551955

0 commit comments

Comments
 (0)