diff --git a/src/command-installer.coffee b/src/command-installer.coffee index 3d366037c..5a6a7f94e 100644 --- a/src/command-installer.coffee +++ b/src/command-installer.coffee @@ -44,7 +44,7 @@ class CommandInstaller if error? showErrorDialog(error) else - @installApmCommand true, (error) -> + @installApmCommand true, (error) => if error? showErrorDialog(error) else