Skip to content

Commit

Permalink
doc: fix typo on fs docs
Browse files Browse the repository at this point in the history
PR-URL: #31620
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
juanarbol authored and codebytere committed Feb 17, 2020
1 parent 2ff812c commit b35f83e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
}
```

Expand Down

0 comments on commit b35f83e

Please sign in to comment.