fix: Simplify remote handling in cleanup command

This commit is contained in:
2026-03-23 07:54:09 +05:30
parent dc60dc674e
commit 068db04355
@@ -349,9 +349,7 @@ program
try {
const result = await cleanupArchiveTags({
force: options.force,
// If --no-remote is passed, set remote to false (local-only)
// Otherwise, remote is either specified (string) or undefined (use first available)
remote: options.noRemote ? false : options.remote,
remote: options.remote,
});
if (result.success) {