Updated so cwd is set from command line and correct directory tree used

This commit is contained in:
Ryan Temple
2015-11-24 19:32:37 +00:00
parent 6d12ef291b
commit 4da1b62542

View File

@@ -20,6 +20,9 @@ function rc(name, cwd, argv) {
return value === 'false' ? false : value;
});
// If we have specified a cwd then use this as the base for getting config.
cwd = argvConfig.cwd ? argvConfig.cwd : cwd;
if (cwd) {
return object.deepMixIn.apply(null, [
{},