🐛 Use fat arrow to capture correct scope

Fixes #9186
This commit is contained in:
Thomas Johansen
2015-10-17 16:53:25 +02:00
parent 6495f1a531
commit 306729f20c

View File

@@ -44,7 +44,7 @@ class CommandInstaller
if error?
showErrorDialog(error)
else
@installApmCommand true, (error) ->
@installApmCommand true, (error) =>
if error?
showErrorDialog(error)
else