Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-01-05 03:04:55 +00:00
parent e45b4f1827
commit 3ae94e1c96

View file

@ -1326,7 +1326,7 @@ const asyncFilter = async (arr, predicate) => {
async function pruneInstallOrders(installOrders) { async function pruneInstallOrders(installOrders) {
const newOrders = Object.assign({}, installOrders) const newOrders = Object.assign({}, installOrders)
for (const pkgManager of installOrders) { for (const pkgManager in installOrders) {
if (pkgManager === 'apt') { if (pkgManager === 'apt') {
newOrders[pkgManager] = await asyncFilter(newOrders[pkgManager], async (x) => { newOrders[pkgManager] = await asyncFilter(newOrders[pkgManager], async (x) => {
try { try {