diff options
Diffstat (limited to 'lib/utils/npm-registry-client/star.js')
-rw-r--r-- | lib/utils/npm-registry-client/star.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/utils/npm-registry-client/star.js b/lib/utils/npm-registry-client/star.js index 474a1786d..eeaca14ef 100644 --- a/lib/utils/npm-registry-client/star.js +++ b/lib/utils/npm-registry-client/star.js @@ -4,7 +4,7 @@ module.exports = star var request = require("./request.js") , GET = request.GET , PUT = request.PUT - , log = require("../log.js") + , log = require("npmlog") , npm = require("../../npm.js") function star (package, starred, cb) { @@ -20,11 +20,11 @@ function star (package, starred, cb) { if (starred) { log.info("starring", fullData._id) fullData.users[npm.config.get("username")] = true - log.verbose(fullData) + log.verbose("starring", fullData) } else { delete fullData.users[npm.config.get("username")] log.info("unstarring", fullData._id) - log.verbose(fullData) + log.verbose("unstarring", fullData) } return PUT(package, fullData, cb) |