Make sure showing errors works correctly

This commit is contained in:
Antonio Scandurra
2015-11-11 18:18:55 +01:00
committed by Nathan Sobo
parent 86eef8cbbf
commit 780979e122
2 changed files with 25 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ class CommandInstaller
process.resourcesPath
installShellCommandsInteractively: ->
showErrorDialog = (error) ->
showErrorDialog = (error) =>
@applicationDelegate.confirm
message: "Failed to install shell commands"
detailedMessage: error.message