adjusted flow

This commit is contained in:
Wyatt Johnson
2017-06-08 11:21:44 -06:00
parent b95e20e493
commit b06a58ebe1
+9 -9
View File
@@ -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();