mirror of
https://github.com/atom/atom.git
synced 2026-02-08 21:55:05 -05:00
Convert CommandInstaller dialogs to async versions
This commit is contained in:
@@ -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.'
|
||||
})
|
||||
}, () => {})
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user