fix: always use underscore

This commit is contained in:
2026-05-03 00:18:17 +02:00
parent dd41581360
commit 917b3faf90
+1 -1
View File
@@ -9,7 +9,7 @@ export const toSafeName = (name: string) => {
.replace(/[\x00-\x1F\x7F]/g, "_")
.replace(/[\s-]+/g, "_")
.replace(/_+/g, "_")
.replace(/[. ]+$/g, "");
.replace(/[. ]+$/g, "_");
};
const themeInfo = JSON.parse(fs.readFileSync("theme.json", "utf-8"));