Update home/.local/bin/installx

This commit is contained in:
Brian Zalewski 2024-09-02 22:30:38 -04:00
parent 10d0934bb3
commit 6d724ceaa1

View file

@ -387,12 +387,12 @@ async function installPackages(pkgInstructions) {
} }
log(`Performing ${promises.length} installations`) log(`Performing ${promises.length} installations`)
process.env.DEBUG && console.log('Queued installs:', promises) process.env.DEBUG && console.log('Queued installs:', promises)
# const installs = await Promise.allSettled(promises) const installs = await Promise.allSettled(promises)
let installs #let installs
promises.forEach((p) => { #promises.forEach((p) => {
installs.push(await p) # installs.push(await p)
}) #})
log(`All of the installations have finished`) log(`All of the installations have finished`)
process.env.DEBUG && console.log('Completed installs:', installs) process.env.DEBUG && console.log('Completed installs:', installs)