chore: logical order
This commit is contained in:
5
brew.py
5
brew.py
@@ -365,8 +365,9 @@ def cli_uninstall(args: ArgParams) -> None:
|
||||
|
||||
needsUninstall = sorted(recipe.remove)
|
||||
|
||||
# if not dry-run, show potential changes
|
||||
for pkg in [] if args.dry_run else needsUninstall:
|
||||
# show potential changes
|
||||
if not args.dry_run:
|
||||
for pkg in needsUninstall:
|
||||
Log.main(f'==> will remove {pkg}.')
|
||||
|
||||
# soft-fail check. warning for any doubly used dependencies
|
||||
|
||||
Reference in New Issue
Block a user