Skip to content

Commit f55491a

Browse files
martforsMyles Borins
authored and
Myles Borins
committedJan 19, 2016
doc: move fs.existsSync() deprecation message
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 <cjihrig@gmail.com>
1 parent 5bf5688 commit f55491a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎doc/api/fs.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -367,11 +367,11 @@ non-existent.
367367

368368
## fs.existsSync(path)
369369

370+
Stability: 0 - Deprecated: Use [fs.statSync][] or [fs.accessSync][] instead.
371+
370372
Synchronous version of [`fs.exists`][].
371373
Returns `true` if the file exists, `false` otherwise.
372374

373-
Stability: 0 - Deprecated: Use [fs.statSync][] or [fs.accessSync][] instead.
374-
375375
## fs.fchmod(fd, mode, callback)
376376

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

0 commit comments

Comments
 (0)
Please sign in to comment.