Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

pass dir to packageFilter #13

Merged
merged 1 commit into from

2 participants

@dominictarr

I needed this change to implement http://github.com/dominictarr/readme

@substack substack merged commit 3bea5b6 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 21, 2012
  1. @dominictarr

    pass dir to packageFilter

    dominictarr authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  index.js
View
2  index.js
@@ -59,7 +59,7 @@ exports.sync = function (x, opts) {
try {
var pkg = JSON.parse(body);
if (opts.packageFilter) {
- pkg = opts.packageFilter(pkg);
+ pkg = opts.packageFilter(pkg, x);
}
if (pkg.main) {
Something went wrong with that request. Please try again.