From 3591f17738636f07cf49246983de00b813f4a3ed Mon Sep 17 00:00:00 2001 From: Wliu <50Wliu@users.noreply.github.com> Date: Fri, 17 Nov 2017 23:45:26 +0100 Subject: [PATCH] Convert CommandInstaller dialogs to async versions --- src/command-installer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command-installer.js b/src/command-installer.js index 2c032d6c5..225547ef4 100644 --- a/src/command-installer.js +++ b/src/command-installer.js @@ -24,7 +24,7 @@ class CommandInstaller { this.applicationDelegate.confirm({ message: 'Failed to install shell commands', detailedMessage: error.message - }) + }, () => {}) } this.installAtomCommand(true, error => { @@ -34,7 +34,7 @@ class CommandInstaller { this.applicationDelegate.confirm({ message: 'Commands installed.', detailedMessage: 'The shell commands `atom` and `apm` are installed.' - }) + }, () => {}) }) }) }