fix(cmd): clarify empty gitea case control flow in supersedeOldReviews

The empty case "gitea": body exits the switch and continues to the
Gitea-specific logic below. Replace the vague comment with an explicit
note about the fall-through intent, per self-review feedback.
This commit is contained in:
claw
2026-05-13 02:35:59 -07:00
parent c4af35cd78
commit 28e63a2338
+1 -1
View File
@@ -535,7 +535,7 @@ func supersedeOldReviews(ctx context.Context, client vcs.Client, provider, vcsUR
} }
return nil return nil
case "gitea": case "gitea":
// Gitea: EditComment + ResolveComment flow // Fall through to Gitea-specific logic below the switch.
default: default:
return fmt.Errorf("supersedeOldReviews: unsupported provider %q", provider) return fmt.Errorf("supersedeOldReviews: unsupported provider %q", provider)
} }