Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
squash! nit about parentheses
  • Loading branch information
Trott committed Jul 5, 2018
commit df6553d426b11a3d46f4d0b0edc2cb49f7183d6e
4 changes: 2 additions & 2 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1570,9 +1570,9 @@ changes:
Synchronous version of [`fs.exists()`][].
Returns `true` if the path exists, `false` otherwise.

`fs.exists()` is deprecated, but `fs.existsSync()` is not. (The `callback`
`fs.exists()` is deprecated, but `fs.existsSync()` is not. The `callback`
parameter to `fs.exists()` accepts parameters that are inconsistent with other
Node.js callbacks. `fs.existsSync()` does not use a callback.)
Node.js callbacks. `fs.existsSync()` does not use a callback.

## fs.fchmod(fd, mode, callback)
<!-- YAML
Expand Down