From fb8450c7ff6521332f1fe9040a86f2cd989f795b Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Fri, 3 Feb 2017 11:22:35 -0700 Subject: [PATCH] Fixed issues with default setup --- bin/cli-setup | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bin/cli-setup b/bin/cli-setup index 7f0d40085..185b04f01 100755 --- a/bin/cli-setup +++ b/bin/cli-setup @@ -35,7 +35,17 @@ program const performSetup = () => { if (program.defaults) { - return SettingsService.init(); + return SettingsService + .init() + .then(() => { + console.log('Settings created.'); + console.log('\nTalk is now installed!'); + util.shutdown(); + }) + .catch((err) => { + console.error(err); + util.shutdown(1); + }); } // Get the current settings, we are expecing an error here.