(path: string)
| 3336 | } |
| 3337 | |
| 3338 | function taskReferencePathCandidates(path: string): string[] { |
| 3339 | const normalizedPath = normalizePath(path); |
| 3340 | const candidates = [normalizedPath]; |
| 3341 | if (!/\.md$/iu.test(normalizedPath)) { |
| 3342 | candidates.push(`${normalizedPath}.md`); |
| 3343 | } |
| 3344 | return candidates; |
| 3345 | } |
| 3346 | |
| 3347 | function uniqueTasks(tasks: TaskInfo[]): TaskInfo[] { |
| 3348 | const seen = new Set<string>(); |
no test coverage detected