Skip to content

Commit 48a57d2

Browse files
authored
Update lineDirectiveNavigation.ts
1 parent 42f41a4 commit 48a57d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/src/lineDirectiveNavigation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ async function findGeneratedFile(sourceFilePath: string): Promise<string | null>
158158
}
159159

160160
// Workspace-wide search as last resort — let user pick if ambiguous
161-
pattern = isBison ? `**/${base}.tab.{c,cpp,cc}` : `**/lex.yy.{c,cc}`;
162-
found = await workspace.findFiles(pattern, '**/node_modules/**', 10);
161+
let pattern = isBison ? `**/${base}.tab.{c,cpp,cc}` : `**/lex.yy.{c,cc}`;
162+
let found = await workspace.findFiles(pattern, '**/node_modules/**', 10);
163163

164164
// in case of no results, check for ylwrap names (no tab/lex)
165165
// we only do that after the initial run to not force a picker if

0 commit comments

Comments
 (0)