We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d01e312 commit afc908cCopy full SHA for afc908c
1 file changed
cg.js
@@ -66,6 +66,9 @@ let configStr = argv._[0] || 'nodejs';
66
let configName = path.basename(configStr);
67
let remoteConfig = configName.indexOf(':')>-1;
68
let configPath = path.dirname(configStr);
69
+if ((configPath === '.') && (!configStr.startsWith('.'))) {
70
+ configPath = '';
71
+}
72
if (!configPath) configPath = path.resolve(__dirname,'configs');
73
let configFile = path.join(configPath,configName);
74
if (!path.extname(configFile)) {
0 commit comments