Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cli.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-08-24 07:52:39 +0400
committerisaacs <i@izs.me>2010-08-24 07:52:39 +0400
commitbdd172fc75b0ae30d5cc41bd6a5cbbfdbcc58648 (patch)
tree2a2f98096b118d22bd45f01360be58b52e2f53e1 /cli.js
parent0930d67ec01f0c24acc2c7c0e7f228cd90b15c23 (diff)
Make the error messages a bit more errory
Diffstat (limited to 'cli.js')
-rwxr-xr-xcli.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli.js b/cli.js
index 9b59d446d..53836109c 100755
--- a/cli.js
+++ b/cli.js
@@ -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) })
}