Update file executable_install-program

This commit is contained in:
Brian Zalewski 2023-01-09 12:37:57 +00:00
parent 4d9be471b5
commit 992850f584

View file

@ -406,7 +406,7 @@ async function updateInstallMaps(preference, packages, scopedPreference, pkg, pa
}
log('info', 'Match', `Found a match for the package \`${pkg}\` (${packageKey} via ${scopedPreference})`)
const newPackages = packages[scopedPreference]
const newPkgs = typeof newPackages === 'string' ? [{ newPackages }] : newPackages
const newPkgs = typeof newPackages === 'string' ? [ newPackages ] : newPackages
if (typeof newPackages === 'string') {
installMeta[newPackages] = {
preference,