Skip to content

Commit 3a2c711

Browse files
committed
Enforce entries[] index as local filepath style
On Windows, fix the example
1 parent 574ed9a commit 3a2c711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Deps.prototype._transform = function (row, enc, next) {
8080
}
8181

8282
self.pending ++;
83-
if (row.entry !== false) self.entries.push(row.file);
83+
if (row.entry !== false) self.entries.push(path.resolve(row.basedir, row.file));
8484

8585
self.lookupPackage(row.file, function (err, pkg) {
8686
if (err && self.options.ignoreMissing) {

0 commit comments

Comments
 (0)