diff options
author | isaacs <i@izs.me> | 2010-07-03 12:07:26 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-07-03 12:07:26 +0400 |
commit | f97b8136ebf6fe88d8e2883bc7bdb7800dda3cd2 (patch) | |
tree | af7c1ae46137afa24ffabe22fb9a6917b1c874c1 /cli.js | |
parent | 90c9ec8ef92b7fc0c173515ebe1afccd3d19d665 (diff) |
s/addListener/on/g
Diffstat (limited to 'cli.js')
-rwxr-xr-x | cli.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ if (printVersion) { if (vindex !== -1) arglist.splice(vindex, 1) } else log(npm.version, "version") -process.addListener("uncaughtException", errorHandler) +process.on("uncaughtException", errorHandler) if (!command) { if (!printVersion) { // npm.commands.help([arglist.join(" ")]) |