Convert CommandInstaller dialogs to async versions

This commit is contained in:
Wliu
2017-11-17 23:45:26 +01:00
parent efdba69b99
commit 3591f17738

View File

@@ -24,7 +24,7 @@ class CommandInstaller {
this.applicationDelegate.confirm({
message: 'Failed to install shell commands',
detailedMessage: error.message
})
}, () => {})
}
this.installAtomCommand(true, error => {
@@ -34,7 +34,7 @@ class CommandInstaller {
this.applicationDelegate.confirm({
message: 'Commands installed.',
detailedMessage: 'The shell commands `atom` and `apm` are installed.'
})
}, () => {})
})
})
}