Skip to content

Commit 291e734

Browse files
author
Csaba Balint
authored
Update index.js
1 parent 22a43a5 commit 291e734

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ Deps.prototype.walk = function (id, parent, cb) {
464464
var current = {
465465
id: file,
466466
filename: file,
467+
basedir: path.dirname(file),
467468
paths: self.paths,
468469
package: pkg,
469470
inNodeModules: parent.inNodeModules || !isTopLevel

0 commit comments

Comments
 (0)