We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f0b319 commit d42e173Copy full SHA for d42e173
1 file changed
src/tools/search-codebase.ts
@@ -364,15 +364,10 @@ export async function handle(
364
}
365
366
const targets = resultPaths.map((rp) => normalizeGraphPath(rp));
367
- const targetSet = new Set(targets);
368
369
const candidates = new Map<string, ImpactCandidate>();
370
371
const addCandidate = (file: string, hop: 1 | 2, line?: number): void => {
372
- for (const t of targetSet) {
373
- if (pathsMatch(t, file)) return;
374
- }
375
-
376
const existing = candidates.get(file);
377
if (existing) {
378
if (existing.hop <= hop) return;
0 commit comments