Browse Source

tweak how donate pages open

master
Feross Aboukhadijeh 7 years ago
parent
commit
a63b23d4a2
  1. 5
      cmd.js

5
cmd.js

@ -225,10 +225,11 @@ async function openDonateLinks (donateLinks) {
text: chalk`Opening {cyan ${len} donate pages} in your {magenta web browser}...` text: chalk`Opening {cyan ${len} donate pages} in your {magenta web browser}...`
}).start() }).start()
await setTimeoutAsync(2000)
for (let donateLink of donateLinks) { for (let donateLink of donateLinks) {
await opn(donateLink, { wait: false }) 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} 💻`)
} }

Loading…
Cancel
Save