Skip to content

Commit

Permalink
couchLogin.tokenSet does not take a cb
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jul 23, 2012
1 parent 5acd26e commit 26fad85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ function load (npm, conf, cb) {

// save the token cookie in the config file
if (npm.registry.couchLogin) {
npm.registry.couchLogin.tokenSet = function (tok, cb) {
npm.registry.couchLogin.tokenSet = function (tok) {
ini.set("_token", JSON.stringify(tok), "user")
// ignore save error. best effort.
ini.save("user", function () {})
Expand Down

0 comments on commit 26fad85

Please sign in to comment.