From 306729f20cc04fae3a73d65885c474278288ff42 Mon Sep 17 00:00:00 2001 From: Thomas Johansen Date: Sat, 17 Oct 2015 16:53:25 +0200 Subject: [PATCH] :bug: Use fat arrow to capture correct scope Fixes #9186 --- src/command-installer.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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