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 addaleax committed Feb 13, 2020
1 parent 9179141 commit 94eb0f9
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 @@ -1949,7 +1949,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 94eb0f9

Please sign in to comment.