Permalink
Browse files

Fix #536. Typo

  • Loading branch information...
1 parent a3bc730 commit 4df584632e086e7b7314df0a8e8d3c699e238612 @isaacs isaacs committed Jan 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/utils/registry/publish.js
@@ -62,7 +62,7 @@ function publish (data, cb) {
PUT(dataURI, data, function (er) {
if (er) {
if (er.message.indexOf("conflict Document update conflict.") === 0) {
- var e = new error("publish fail")
+ var e = new Error("publish fail")
e.errno = npm.epublishconflict
e.pkgid = data._id
return cb(e)

0 comments on commit 4df5846

Please sign in to comment.