Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
stop the spinner when the process finishes
Browse files Browse the repository at this point in the history
Required for node 0.8 compatibility
  • Loading branch information
isaacs committed May 23, 2014
1 parent e06799e commit 9f00306
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/utils/error-handler.js
Expand Up @@ -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()
}
}

Expand Down

0 comments on commit 9f00306

Please sign in to comment.