mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Method is showErrorDialog not showDialog
This commit is contained in:
@@ -141,11 +141,11 @@ class WorkspaceView extends View
|
||||
resourcePath = atom.getLoadSettings().resourcePath
|
||||
CommandInstaller.installAtomCommand resourcePath, (error) =>
|
||||
if error?
|
||||
showDialog(error)
|
||||
showErrorDialog(error)
|
||||
else
|
||||
CommandInstaller.installApmCommand resourcePath, (error) =>
|
||||
if error?
|
||||
showDialog(error)
|
||||
showErrorDialog(error)
|
||||
else
|
||||
atom.confirm
|
||||
message: "Commands installed."
|
||||
|
||||
Reference in New Issue
Block a user