diff --git a/lib/publish.js b/lib/publish.js index d045d971..348862db 100644 --- a/lib/publish.js +++ b/lib/publish.js @@ -77,10 +77,10 @@ function publish_ (arg, data, isRetry, cachedir, cb) { ("This package has been marked as private\n" +"Remove the 'private' field from the package.json to publish it.")) - regPublish(data, tb, isRetry, arg, cachedir, cb) + regPublish(data, isRetry, arg, cachedir, cb) } -function regPublish (data, prebuilt, isRetry, arg, cachedir, cb) { +function regPublish (data, isRetry, arg, cachedir, cb) { // check to see if there's a README.md in there. var readme = path.resolve(cachedir, "README.md") , tarball = cachedir + ".tgz"