Comparing version 0.0.3 to 0.0.4
@@ -130,3 +130,8 @@ var util = require('util'); | ||
if (module) { | ||
pkgPath = findPackage(path.dirname(module.filename)); | ||
if (typeof module === 'string') { | ||
pkgPath = module; | ||
} | ||
else { | ||
pkgPath = findPackage(path.dirname(module.filename)); | ||
} | ||
} | ||
@@ -133,0 +138,0 @@ else { |
{ | ||
"name": "etc", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Configuration loader for node.js applications", | ||
@@ -5,0 +5,0 @@ "main": "etc.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
13254
232