(fileExts: string[] | undefined)
| 387 | } |
| 388 | |
| 389 | export function normalizeSemanticDiffFileExts(fileExts: string[] | undefined): string[] { |
| 390 | return Array.from(new Set((fileExts ?? []) |
| 391 | .map((ext) => ext.trim()) |
| 392 | .filter(Boolean) |
| 393 | .map((ext) => ext.startsWith(".") ? ext : `.${ext}`))); |
| 394 | } |
| 395 | |
| 396 | export function semanticDiffFileExtsFromSearchParams(params: URLSearchParams): string[] { |
| 397 | const requested = [ |
no outgoing calls
no test coverage detected