diff options
author | isaacs <i@izs.me> | 2012-08-07 06:01:21 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-08-07 06:01:21 +0400 |
commit | a1d5df4e334e8adeb06d230c90bdbe9f47b42256 (patch) | |
tree | d4bd9c06fef85d55d0ac83e18c0593cfeca4fb05 | |
parent | 9cb4f734bf4ec93a43ee6f0e7560d641d4c2b4c1 (diff) |
publish: Remove extraneous 'readme' arg
-rw-r--r-- | lib/publish.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/publish.js b/lib/publish.js index bc8a6b575..1c103f7e5 100644 --- a/lib/publish.js +++ b/lib/publish.js @@ -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) |