Skip to content

Commit a7a6261

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 d4c1a8c commit a7a6261

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
@@ -1940,7 +1940,7 @@ Node.js callbacks. `fs.existsSync()` does not use a callback.
19401940

19411941
```js
19421942
if (fs.existsSync('/etc/passwd')) {
1943-
console.log('The file exists.');
1943+
console.log('The path exists.');
19441944
}
19451945
```
19461946

0 commit comments

Comments
 (0)