From 7f77089a8a6ee87cbf99ddb89c875daaf915ebf1 Mon Sep 17 00:00:00 2001 From: Martin Forsberg Date: Fri, 20 Nov 2015 18:36:59 +0100 Subject: [PATCH] doc: move deprecation message Move deprecation message for fs.existsSync above the function description making message placement uniform across the documentation. --- doc/api/fs.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown index 582a222a6e69c6..86e77539b922fa 100644 --- a/doc/api/fs.markdown +++ b/doc/api/fs.markdown @@ -364,11 +364,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