We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f296e30 commit faf6e73Copy full SHA for faf6e73
src/tools/search-codebase.ts
@@ -369,7 +369,9 @@ export async function handle(
369
const candidates = new Map<string, ImpactCandidate>();
370
371
const addCandidate = (file: string, hop: 1 | 2, line?: number): void => {
372
- if (Array.from(targetSet).some((t) => pathsMatch(t, file))) return;
+ for (const t of targetSet) {
373
+ if (pathsMatch(t, file)) return;
374
+ }
375
376
const existing = candidates.get(file);
377
if (existing) {
0 commit comments