Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-01-05 03:07:30 +00:00
parent 3ae94e1c96
commit fd2bfd8995

View file

@ -1338,7 +1338,7 @@ async function pruneInstallOrders(installOrders) {
}) })
} else if (pkgManager === 'brew') { } else if (pkgManager === 'brew') {
let newVal = newOrders[pkgManager] let newVal = newOrders[pkgManager]
for (const pkg in newOrders[pkgManager]) { for (const pkg of newOrders[pkgManager]) {
try { try {
await $`brew list ${pkg}` await $`brew list ${pkg}`
newVal = newVal.filter(x => x === pkg) newVal = newVal.filter(x => x === pkg)