add all keyboard langs to backstage + fix test

This commit is contained in:
KingKDot
2026-07-30 14:59:00 -05:00
parent 91e9b3196a
commit 7369aa7014
10 changed files with 132 additions and 21 deletions
+2 -1
View File
@@ -274,7 +274,8 @@ func IsServerToAgentMessageType(value string) bool {
async function emit(path: string, content: string): Promise<void> {
if (checkOnly) {
const current = await Bun.file(path).text().catch(() => "");
if (current !== content) {
const normalizeLineEndings = (value: string) => value.replace(/\r\n/g, "\n");
if (normalizeLineEndings(current) !== normalizeLineEndings(content)) {
console.error(`Generated artifact is stale: ${path}`);
process.exitCode = 1;
}