chore: logical order

This commit is contained in:
relikd
2025-08-29 17:03:56 +02:00
parent a49f147bba
commit cdc6d6fa88

View File

@@ -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