diff options
-rw-r--r-- | lib/utils/prompt.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/prompt.js b/lib/utils/prompt.js index 3c047dd03..4669796da 100644 --- a/lib/utils/prompt.js +++ b/lib/utils/prompt.js @@ -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 |