Update home/.local/bin/installx

This commit is contained in:
Marley Rae 2024-09-03 12:18:52 -04:00
parent 28402398d9
commit b55f527436

View file

@ -390,8 +390,10 @@ async function installPackages(pkgInstructions) {
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 = []
for (const cmd of promises) { for (const cmd of promises) {
await cmd const res = await cmd
installs.push(res)
} }
log(`All of the installations have finished`) log(`All of the installations have finished`)