mirror of
https://github.com/cupcakearmy/unbrew.git
synced 2025-09-05 15:50:41 +00:00
show which packages where uninstalled
This commit is contained in:
@@ -60,11 +60,14 @@ async function main() {
|
||||
}
|
||||
|
||||
console.log('🗑 Uninstalling')
|
||||
const allLoosers = []
|
||||
while (loosers.length) {
|
||||
allLoosers.push(...loosers)
|
||||
const joinedLoosers = loosers.join(' ')
|
||||
cp.execSync(`brew uninstall ${joinedLoosers}`)
|
||||
loosers = getLoosers(keepers)
|
||||
}
|
||||
console.log('✅ Uninstalled: ' + allLoosers.join(', '))
|
||||
|
||||
console.log('🧽 Cleaning up')
|
||||
cp.execSync(`brew cleanup`)
|
||||
|
Reference in New Issue
Block a user