From a63b23d4a294fdb8076d39182fefbc524cb9859f Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 8 Feb 2018 02:20:59 -0800 Subject: [PATCH] tweak how donate pages open --- cmd.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd.js b/cmd.js index 9e0b943..5130255 100755 --- a/cmd.js +++ b/cmd.js @@ -225,10 +225,11 @@ async function openDonateLinks (donateLinks) { text: chalk`Opening {cyan ${len} donate pages} in your {magenta web browser}...` }).start() + await setTimeoutAsync(2000) + for (let donateLink of donateLinks) { await opn(donateLink, { wait: false }) - await setTimeoutAsync(2000) } - spinner.succeed(chalk`Opened {cyan ${len} donate pages} in your {magenta web browser}`) + spinner.succeed(chalk`Opened {cyan ${len} donate pages} in your {magenta web browser} 💻`) }