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 Mar 30, 2020
1 parent d4c1a8c commit a7a6261
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 a7a6261

Please sign in to comment.