( enabled: Record<string, string> | undefined, name: string )
| 24 | * of a hand-edited config that wrote an explicit off-ish value. |
| 25 | */ |
| 26 | export function isOverrideEnabled( |
| 27 | enabled: Record<string, string> | undefined, |
| 28 | name: string |
| 29 | ): boolean { |
| 30 | const v = enabled?.[name] |
| 31 | return v !== undefined && v !== 'off' && v !== 'false' && v !== '0' && v !== '' |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * Visual tweaks — the no-code companion to overrides. A small UI lets users |
no outgoing calls
no test coverage detected