From b06a58ebe1b96f9753fccc56b8b560914472e88a Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Thu, 8 Jun 2017 11:21:44 -0600 Subject: [PATCH] adjusted flow --- bin/cli-setup | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/bin/cli-setup b/bin/cli-setup index 680fba91a..9ecdecc95 100755 --- a/bin/cli-setup +++ b/bin/cli-setup @@ -35,15 +35,6 @@ program const performSetup = async () => { - if (program.defaults) { - await SettingsService.init(); - - console.log('Settings created.'); - console.log('\nTalk is now installed!'); - - return; - } - // Get the current settings, we are expecing an error here. try { @@ -63,6 +54,15 @@ const performSetup = async () => { } } + if (program.defaults) { + await SettingsService.init(); + + console.log('Settings created.'); + console.log('\nTalk is now installed!'); + + return; + } + // Create the base settings model. let settings = new SettingModel();