Make sure showing errors works correctly

This commit is contained in:
Antonio Scandurra
2015-11-11 18:18:55 +01:00
parent 24e64ee9e1
commit 60841e574a
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