mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: fix typo on fs docs
PR-URL: https://github.com/nodejs/node/pull/31620 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
2ff812ca84
commit
b35f83e69b
1 file changed
+1
-1
+1
-1
@@ -1960,7 +1960,7 @@ Node.js callbacks. `fs.existsSync()` does not use a callback.
|
||||
|
||||
```js
|
||||
if (fs.existsSync('/etc/passwd')) {
|
||||
console.log('The file exists.');
|
||||
console.log('The path exists.');
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user