(key: string)
| 111 | function getPreferredImageLookupKeys(normalizedName: string): string[] { |
| 112 | const keys: string[] = []; |
| 113 | const addKey = (key: string) => { |
| 114 | if (!key || keys.includes(key)) return; |
| 115 | keys.push(key); |
| 116 | const lowerKey = key.toLowerCase(); |
| 117 | if (lowerKey !== key && !keys.includes(lowerKey)) { |
| 118 | keys.push(lowerKey); |
| 119 | } |
| 120 | }; |
| 121 | |
| 122 | if (!normalizedName.toLowerCase().startsWith('images/')) { |
| 123 | addKey(`images/${normalizedName}`); |
no outgoing calls
no test coverage detected