From 85aa88e6ed2212bb4d24381132bcaac82b96a437 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sat, 31 May 2014 16:53:18 -0400 Subject: [PATCH] show correct path on windows --- app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 65238fcfd9..e41c70349b 100644 --- a/app.js +++ b/app.js @@ -64,8 +64,9 @@ winston.info('This is free software, and you are welcome to redistribute it unde winston.info(''); // Alternate configuration file support -var configFile = __dirname + '/config.json', +var configFile = path.join(__dirname, '/config.json'), configExists; + if (nconf.get('config')) { configFile = path.resolve(__dirname, nconf.get('config')); }