(errorCount: number)
| 248 | * Shows a red badge when there are errors. |
| 249 | */ |
| 250 | export function errorBadge(errorCount: number): VNode | null { |
| 251 | if (errorCount === 0) return null; |
| 252 | return ui.text(`! ${errorCount} error${errorCount > 1 ? "s" : ""}`, { style: ERROR_STYLE }); |
| 253 | } |
nothing calls this directly
no outgoing calls
no test coverage detected