mirror of
https://github.com/bendtherules/opencode-multi-model.git
synced 2026-08-18 13:42:21 +00:00
fix: Simplify remote handling in cleanup command
This commit is contained in:
@@ -349,9 +349,7 @@ program
|
|||||||
try {
|
try {
|
||||||
const result = await cleanupArchiveTags({
|
const result = await cleanupArchiveTags({
|
||||||
force: options.force,
|
force: options.force,
|
||||||
// If --no-remote is passed, set remote to false (local-only)
|
remote: options.remote,
|
||||||
// Otherwise, remote is either specified (string) or undefined (use first available)
|
|
||||||
remote: options.noRemote ? false : options.remote,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user