* Safely fallback to an empty svg
(url: string)
| 9 | * Safely fallback to an empty svg |
| 10 | */ |
| 11 | function safeFallback(url: string) { |
| 12 | const svg = ''; |
| 13 | ioniconContent.set(url, svg); |
| 14 | return svg; |
| 15 | } |
| 16 | |
| 17 | export const getSvgContent = (url: string, sanitize: boolean): Promise<string> => { |
| 18 | /** |
no outgoing calls
no test coverage detected
searching dependent graphs…