Fix: pound sign handling

This commit is contained in:
SukkaW
2025-08-18 00:34:28 +08:00
parent bae38ea3a8
commit 8ec28f6260
3 changed files with 14 additions and 10 deletions

View File

@@ -37,12 +37,6 @@ export function processLine(line: string): string | null {
*/
}
const otherPoundSign = trimmed.indexOf('#');
if (otherPoundSign > 0) {
return trimmed.slice(0, otherPoundSign).trimEnd();
}
return trimmed;
}