config-chain
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -54,4 +54,5 @@ | ||
var file = path.join.apply(null, [].slice.call(arguments)) | ||
var content | ||
try { | ||
parse(fs.readFileSync(file,'utf-8'), file) | ||
content = fs.readFileSync(file,'utf-8') | ||
} catch (err) { | ||
@@ -61,2 +62,3 @@ err.message += ' when attempting to read configuration from:' + file | ||
} | ||
return parse(content) | ||
} | ||
@@ -63,0 +65,0 @@ |
{ | ||
"name": "config-chain", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "HANDLE CONFIGURATION ONCE AND FOR ALL", | ||
@@ -18,4 +18,4 @@ "homepage": "http://github.com/dominictarr/config-chain", | ||
"scripts": { | ||
"test": "node test/find-file.js && node test/ini.js && node test/env.js" | ||
"test": "node test/find-file.js && node test/ini.js && node test/env.js && node test/broken.js" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17522
17
273