Skip to content

Commit

Permalink
fix: packageFilter passes expected arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Nov 19, 2019
1 parent e5f4f6f commit 1ba95fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ module.exports = function (x, options) {
} catch (e) {}

if (opts.packageFilter) {
pkg = opts.packageFilter(pkg, x);
pkg = opts.packageFilter(pkg, pkgfile, x);
}

if (pkg.main) {
Expand Down

0 comments on commit 1ba95fe

Please sign in to comment.