Skip to content

Commit d42e173

Browse files
committed
fix(impact): don't hide 2-hop candidates
1 parent 2f0b319 commit d42e173

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/tools/search-codebase.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -364,15 +364,10 @@ export async function handle(
364364
}
365365

366366
const targets = resultPaths.map((rp) => normalizeGraphPath(rp));
367-
const targetSet = new Set(targets);
368367

369368
const candidates = new Map<string, ImpactCandidate>();
370369

371370
const addCandidate = (file: string, hop: 1 | 2, line?: number): void => {
372-
for (const t of targetSet) {
373-
if (pathsMatch(t, file)) return;
374-
}
375-
376371
const existing = candidates.get(file);
377372
if (existing) {
378373
if (existing.hop <= hop) return;

0 commit comments

Comments
 (0)