[Pkg-javascript-commits] [node-keygrip] 24/68: Method path.existsSync is deprecated, now fs.existsSync should be used
Andrew Kelley
andrewrk-guest at moszumanska.debian.org
Fri Jun 27 22:13:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
andrewrk-guest pushed a commit to branch master
in repository node-keygrip.
commit 11ecc5d2b217bab036642b032107b9de3dd64db6
Author: Ian Babrou <ibobrik at gmail.com>
Date: Tue Jul 3 21:27:59 2012 +0400
Method path.existsSync is deprecated, now fs.existsSync should be used
---
index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.js b/index.js
index 519d02e..8b0e2e5 100644
--- a/index.js
+++ b/index.js
@@ -4,7 +4,7 @@ fs = require( "fs" )
keysPath = path.join( __dirname, "defaultKeys.json" )
-defaults = path.existsSync( keysPath )
+defaults = fs.existsSync( keysPath )
? JSON.parse( fs.readFileSync( keysPath ) )
: undefined
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-keygrip.git
More information about the Pkg-javascript-commits
mailing list