Method is showErrorDialog not showDialog

This commit is contained in:
Kevin Sawicki
2014-02-03 14:01:23 -08:00
parent cb8075206b
commit a36cc3a609

View File

@@ -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."