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 <rtrott@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
juanarbol authored and codebytere committed Mar 15, 2020
1 parent cfb8fe9 commit 54db3dc
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 @@ -1940,7 +1940,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 54db3dc

Please sign in to comment.