Skip to content

Commit

Permalink
doc: move fs.existsSync() deprecation message
Browse files Browse the repository at this point in the history
This commit moves the deprecation message for fs.existsSync()
above the function description, making message placement
uniform across the documentation.

PR-URL: #3942
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
martfors authored and Myles Borins committed Jan 19, 2016
1 parent 5bf5688 commit f55491a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/fs.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -367,11 +367,11 @@ non-existent.

## fs.existsSync(path)

Stability: 0 - Deprecated: Use [fs.statSync][] or [fs.accessSync][] instead.

Synchronous version of [`fs.exists`][].
Returns `true` if the file exists, `false` otherwise.

Stability: 0 - Deprecated: Use [fs.statSync][] or [fs.accessSync][] instead.

## fs.fchmod(fd, mode, callback)

Asynchronous fchmod(2). No arguments other than a possible exception
Expand Down

0 comments on commit f55491a

Please sign in to comment.