Update file executable_install-program
This commit is contained in:
parent
69e4bcaf31
commit
eec1273fd8
1 changed files with 1 additions and 2 deletions
|
@ -1367,8 +1367,7 @@ async function pruneInstallOrders(installOrders) {
|
||||||
let newVal = newOrders[pkgManager]
|
let newVal = newOrders[pkgManager]
|
||||||
for (const pkg of newOrders[pkgManager]) {
|
for (const pkg of newOrders[pkgManager]) {
|
||||||
try {
|
try {
|
||||||
console.log(pkg)
|
runCommand(`Pruning packages that are already installed via Homebrew - ${pkg}`, `brew list ${pkg}`)
|
||||||
runCommand('Pruning ${pkg} if it is already installed by Homebrew', `brew list ${pkg}`)
|
|
||||||
newVal = newVal.filter(x => x === pkg)
|
newVal = newVal.filter(x => x === pkg)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// Do nothing
|
// Do nothing
|
||||||
|
|
Loading…
Reference in a new issue