Added message for aborting setup

pull/51/head
tycrek 3 years ago
parent 11b3c2055c
commit bb4b0656d1
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -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(() => {

Loading…
Cancel
Save