(value: string)
| 162 | const specialEditorFileNames = ['dockerfile']; |
| 163 | |
| 164 | const normalizeEditorExtension = (value: string) => { |
| 165 | const trimmed = value.trim().toLowerCase(); |
| 166 | if (!trimmed) { |
| 167 | return ''; |
| 168 | } |
| 169 | return trimmed.startsWith('.') ? trimmed.slice(1) : trimmed; |
| 170 | }; |
| 171 | |
| 172 | const isSpecialEditorFileName = (value: string) => { |
| 173 | const normalized = value.trim().toLowerCase(); |
no outgoing calls
no test coverage detected