mirror of
https://github.com/zhigang1992/npm.git
synced 2026-06-05 20:07:10 +08:00
Missed a reference to prebuilt in last commit
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user