Permalink
Browse files

publish: Remove extraneous 'readme' arg

  • Loading branch information...
1 parent 9cb4f73 commit a1d5df4e334e8adeb06d230c90bdbe9f47b42256 @isaacs isaacs committed Aug 7, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/publish.js
View
@@ -80,9 +80,8 @@ function publish_ (arg, data, isRetry, cachedir, cb) {
}
function regPublish (data, isRetry, arg, cachedir, cb) {
- // check to see if there's a README.md in there.
var tarball = cachedir + ".tgz"
- registry.publish(data, tarball, data.readme, function (er) {
+ registry.publish(data, tarball, function (er) {
if (er && er.code === "EPUBLISHCONFLICT"
&& npm.config.get("force") && !isRetry) {
log.warn("publish", "Forced publish over "+data._id)

0 comments on commit a1d5df4

Please sign in to comment.