From bb4b0656d16f46484c449dbeecdb3f7c29aac999 Mon Sep 17 00:00:00 2001 From: tycrek Date: Wed, 25 Aug 2021 19:31:47 -0600 Subject: [PATCH] Added message for aborting setup --- setup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.js b/setup.js index 6558486..f822b31 100755 --- a/setup.js +++ b/setup.js @@ -195,7 +195,7 @@ function doSetup() { // Confirm .then(() => prompt.get(confirmSchema)) - .then(({ confirm }) => (confirm ? fs.writeJson(path('config.json'), results, { spaces: 4 }) : process.exit(1))) + .then(({ confirm }) => (confirm ? fs.writeJson(path('config.json'), results, { spaces: 4 }) : log.error('Setup aborted').callback(process.exit, 1))) // Other setup tasks .then(() => {