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`)
process.env.DEBUG && console.log('Queued installs:', promises)
# const installs = await Promise.allSettled(promises)
const installs = await Promise.allSettled(promises)
let installs
promises.forEach((p) => {
installs.push(await p)
})
#let installs
#promises.forEach((p) => {
# installs.push(await p)
#})
log(`All of the installations have finished`)
process.env.DEBUG && console.log('Completed installs:', installs)