fix maintainability issues raised by sonarqube

- Unicode-aware string methods should be used for proper character handling (typescript:S7758)
This commit is contained in:
Rye committed 2026-03-14 18:18:57 +01:00
1 parent 412c5284be
commit aa6a764732
1 file changed
+1 -1
+1 -1
View File
@@ -164,7 +164,7 @@ export class ASCIILexicalTable {
prev += String.fromCharCode(lastCode - 1);
while (prev.length < this.maxStrWidth) {
prev += String.fromCharCode(this.endCode);
prev += String.fromCodePoint(this.endCode);
}
return prev;
}