diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index b1c47494..0d976b77 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -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)