Comparing version
@@ -51,3 +51,8 @@ | ||
var _configPath = path.join(configPath, filename); | ||
configSet[namespace] = this._getConfigSet(_configPath); | ||
var _stat = fs.statSync(_configPath); | ||
if(_stat.isFile() && path.extname(filename) == '.json') { | ||
configSet[namespace] = this._getConfig(_configPath); | ||
} else if(_stat.isDirectory()) { | ||
configSet[namespace] = this._getConfigSet(_configPath); | ||
} | ||
} | ||
@@ -54,0 +59,0 @@ return configSet; |
{ | ||
"name": "ambiente", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/ambiente", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5197
5.12%11
10%139
3.73%0
-100%