diff options
author | isaacs <i@izs.me> | 2010-02-27 08:26:35 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-02-27 09:04:06 +0300 |
commit | b81e2204ecddfb848524b49ad61c84d9e9a23f88 (patch) | |
tree | d1fafe6a086d17a7eab5d4d75638139b8aa69f92 /cli.js | |
parent | 973dfad354ac79b8f2ed84c1e722bd35ba85bc59 (diff) |
Throw errors that bubble up to the cli.
Diffstat (limited to 'cli.js')
-rwxr-xr-x | cli.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -58,5 +58,6 @@ function usage () { var result = npm[command].apply(npm, argv.concat(function (er, ok) { if (er) { log("failed " + er.message); + throw er; } else log("ok"); })); |