Skip to content

Commit f71a829

Browse files
committed
Fix broken words
Signed-off-by: worksofliam <[email protected]>
1 parent 201702d commit f71a829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chat/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export async function findPossibleTables(stream: vscode.ChatResponseStream, sche
6565
// parse all SCHEMA.TABLE references first
6666
tables = await parsePromptForRefs(stream, words.filter(word => word.includes('.')));
6767

68-
const justWords = words.map(word => word.replace(/[.,\/#!?$%\^&\*;:{}=\-_`~()]/g, ""));
68+
const justWords = words.map(word => word.replace(/[,\/#!?$%\^&\*;:{}=\-_`~()]/g, ""));
6969

7070
// Remove plurals from words
7171
justWords.push(...justWords.filter(word => word.endsWith('s')).map(word => word.slice(0, -1)));

0 commit comments

Comments
 (0)