Fixed issues with default setup

This commit is contained in:
Wyatt Johnson
2017-02-03 11:22:35 -07:00
parent f488b0e02d
commit fb8450c7ff
+11 -1
View File
@@ -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.