You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(disable): reduce complexity of run() in disable.rs (#1489)
Extract ApplyOutcome enum and apply_action() helper so the per-definition
loop body is a flat three-arm match instead of nested match-if-match.
- New: ApplyOutcome { Skipped, Patched, Failed } enum
- New: apply_action() — handles one Action, prints status, returns outcome
- run() loop reduced from ~25 lines of nested control flow to 6 lines
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments