Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

blow through errors in deactivate

check out, npm link, then remove the source, and npm rm would be
broken, because the deactivate coudln't read the json.
  • Loading branch information...
commit 67aa1d77bb179dd9f2fc3c0320993ba9bf3f93ee 1 parent f2d5903
@isaacs isaacs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/deactivate.js
2  lib/deactivate.js
@@ -83,7 +83,7 @@ function preDeactivate (pkg, cb) {
if (er) return cb()
var version = path.basename(p)
readJson(jsonFile, function (er, data) {
- if (er) return cb(er)
+ if (er) return cb()
data.version = version
data._id ="@"+data.version
Please sign in to comment.
Something went wrong with that request. Please try again.