diff options
author | isaacs <i@izs.me> | 2010-08-24 07:52:39 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-08-24 07:52:39 +0400 |
commit | bdd172fc75b0ae30d5cc41bd6a5cbbfdbcc58648 (patch) | |
tree | 2a2f98096b118d22bd45f01360be58b52e2f53e1 /cli.js | |
parent | 0930d67ec01f0c24acc2c7c0e7f228cd90b15c23 (diff) |
Make the error messages a bit more errory
Diffstat (limited to 'cli.js')
-rwxr-xr-x | cli.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -89,9 +89,9 @@ function errorHandler (er) { return rm(npm.tmp, function (er) { process.exit(0) }) } log.error(er) - log("try running: 'npm help "+command+"'", "failure") - log("Report this *entire* log at <http://github.com/isaacs/npm/issues>", "failure") - log("or email it to <npm-@googlegroups.com>", "failure") + log.error("try running: 'npm help "+command+"'") + log.error("Report this *entire* log at <http://github.com/isaacs/npm/issues>") + log.error("or email it to <npm-@googlegroups.com>") rm(npm.tmp, function (er) { process.exit(1) }) } |