Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-01-05 04:19:01 +00:00
parent 3001c370b2
commit 0f4c8a7ffc

View file

@ -1365,7 +1365,7 @@ async function pruneInstallOrders(installOrders) {
})
} else if (pkgManager === 'brew') {
let newVal = newOrders[pkgManager]
for (const pkg of newOrders[pkgManager]) {
for (const pkg in newOrders[pkgManager]) {
try {
runCommand('Pruning Homebrew packages that are already installed - ${pkg}', `brew list ${pkg}`)
newVal = newVal.filter(x => x === pkg)