mirror of
https://github.com/cupcakearmy/unbrew.git
synced 2024-12-22 08:06:24 +00:00
show which packages where uninstalled
This commit is contained in:
parent
e3fc8e5fdb
commit
485305c75d
@ -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`)
|
||||
|
Loading…
Reference in New Issue
Block a user