(paths: readonly string[])
| 216 | } |
| 217 | |
| 218 | function dedupeWindowsPaths(paths: readonly string[]): readonly string[] { |
| 219 | const deduped: string[] = []; |
| 220 | const seen = new Set<string>(); |
| 221 | for (const path of paths) { |
| 222 | const key = normalizeWindowsPath(path).toLowerCase(); |
| 223 | if (seen.has(key)) continue; |
| 224 | seen.add(key); |
| 225 | deduped.push(path); |
| 226 | } |
| 227 | return deduped; |
| 228 | } |
| 229 | |
| 230 | /** |
| 231 | * Production convenience — derive the deps bag from Node's ambient surface. |
no test coverage detected