diff options
Diffstat (limited to 'deps/npm/lib/publish.js')
-rw-r--r-- | deps/npm/lib/publish.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/lib/publish.js b/deps/npm/lib/publish.js index 45de4f24b40..e1826df9d47 100644 --- a/deps/npm/lib/publish.js +++ b/deps/npm/lib/publish.js @@ -13,6 +13,7 @@ var createReadStream = require('graceful-fs').createReadStream var npa = require('npm-package-arg') var semver = require('semver') var getPublishConfig = require('./utils/get-publish-config.js') +var output = require('./utils/output.js') publish.usage = 'npm publish [<tarball>|<folder>] [--tag <tag>] [--access <public|restricted>]' + "\n\nPublishes '.' if no argument supplied" + @@ -147,8 +148,7 @@ function publish_ (arg, data, isRetry, cachedir, cb) { // report the unpublish error if this was a retry and unpublish failed if (er && isRetry && isRetry !== true) return cb(isRetry) if (er) return cb(er) - log.clearProgress() - console.log('+ ' + data._id) + output('+ ' + data._id) cb() }) }) |