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:
Juan José Arboleda authored and Shelley Vohr committed 2020-02-17 12:48:10 -08:00
1 parent 2ff812ca84
commit b35f83e69b
1 file changed
+1 -1
+1 -1
View File
@@ -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.');
}
```