lorenwest/node-config — pull request #94 by sturadnidge (2013-11-09 21:12:21+00:00)
Title: use path.join to build default CONFIG_DIR value

Currently the default CONFIG_DIR variable is built using process.cwd(), however node may not always be running in the same directory as the application, which can lead to odd behaviour. Using path.join(__dirname, 'config') should make things a little more robust whilst retaining the original intention (I think!).