fix(lint): cover active/inactive in the terminal tab activity switch (#8660)

The WorktreeStatus union feeding activityDotState widened, and the
switch-exhaustiveness gate now fails on main itself (verify does not run
on pushes to main, so the break landed silently and blocks every PR's
CI). Cover the two glyph-less states explicitly — matching the
function's documented intent — and drop the now-unreachable default.
This commit is contained in:
Brennan Benson
2026-07-13 21:10:01 -07:00
committed by GitHub
parent b379610cbe
commit 5a3e4b44f8
@@ -35,7 +35,8 @@ function activityDotState(status: TerminalTabActivityStatus): AgentDotState | nu
return 'permission'
case 'done':
return 'done'
default:
case 'active':
case 'inactive':
return null
}
}