diff options
author | isaacs <i@izs.me> | 2014-05-24 01:32:34 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2014-05-24 01:32:34 +0400 |
commit | 9f003067909440390198c0b8f92560d84da37762 (patch) | |
tree | 981c9687bb014f983cf1324b725b5f565cda79b2 | |
parent | e06799e77e60c1fc51869619083a25e074d368b3 (diff) |
stop the spinner when the process finishes
Required for node 0.8 compatibility
-rw-r--r-- | lib/utils/error-handler.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utils/error-handler.js b/lib/utils/error-handler.js index b025fdd37..feeec184c 100644 --- a/lib/utils/error-handler.js +++ b/lib/utils/error-handler.js @@ -63,6 +63,7 @@ function exit (code, noLog) { // if we're really exiting, then let it exit on its own, so that // in-process stuff can finish or clean up first. if (!doExit) process.emit("exit", code) + npm.spinner.stop() } } |