From ae915da77c104f9506e7f95fafe146df3614c05e Mon Sep 17 00:00:00 2001 From: Farrin Reid Date: Sat, 7 Jul 2012 01:54:07 -0800 Subject: [PATCH] [fix] path.existsSync was moved to fs.existsSync --- test/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helper.js b/test/helper.js index 26618ae..0c4b4aa 100644 --- a/test/helper.js +++ b/test/helper.js @@ -4,7 +4,7 @@ var path = require('path'), fs = require('fs'); var cfg = path.resolve(__dirname, './config.json'), - cfg_file = path.existsSync(cfg) ? cfg : + cfg_file = fs.existsSync(cfg) ? cfg : path.resolve(__dirname, './config.json.sample'), config;