filing-cabinet
Advanced tools
Comparing version 1.2.9 to 1.2.10
@@ -161,9 +161,8 @@ var path = require('path'); | ||
var result = ''; | ||
var fileDir = path.dirname(filename); | ||
try { | ||
result = resolve.sync(partial, { | ||
basedir: fileDir, | ||
basedir: directory, | ||
// Add fileDir to resolve index.js files in that dir | ||
moduleDirectory: ['node_modules', fileDir] | ||
moduleDirectory: ['node_modules', directory] | ||
}); | ||
@@ -170,0 +169,0 @@ debug('resolved path: ' + result); |
{ | ||
"name": "filing-cabinet", | ||
"version": "1.2.9", | ||
"version": "1.2.10", | ||
"description": "Find files based on partial paths", | ||
@@ -5,0 +5,0 @@ "main": "index.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
10052
192