chore: remove debug statements

This commit is contained in:
Daniel Bauer
2024-12-18 11:11:17 +01:00
parent d85c07126f
commit 5802a6cd5d

View File

@@ -51,7 +51,6 @@ export function getTriggerText(line: string, cursorPos: number): [string, number
*/ */
function getTriggerTextFromRegex(line: string, cursorPos: number, regex: RegExp): [string, number, number] | null { function getTriggerTextFromRegex(line: string, cursorPos: number, regex: RegExp): [string, number, number] | null {
let matches = Array.from(line.matchAll(regex)); let matches = Array.from(line.matchAll(regex));
console.log(matches);
for (const match of matches) { for (const match of matches) {
if (match.index === undefined) { if (match.index === undefined) {
continue; continue;