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

Commit

Permalink
dont' exit forcefully
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Oct 24, 2010
1 parent d7c6982 commit 3adf798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/prompt.js
Expand Up @@ -53,7 +53,7 @@ function silentRead (def, cb) {
stdin.pause()
return cb(null, val)
case "\u0003": case "\0":
process.exit()
return cb("cancelled")
break
default:
val += buffer + c
Expand Down

0 comments on commit 3adf798

Please sign in to comment.