style(web): format code

This commit is contained in:
ReaJason
2025-08-13 23:53:40 +08:00
parent cf05f5f79e
commit 7ce71856d3
40 changed files with 551 additions and 308 deletions
+11 -2
View File
@@ -1,4 +1,11 @@
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
import {
existsSync,
mkdirSync,
readdirSync,
readFileSync,
rmSync,
writeFileSync,
} from "node:fs";
import { cp } from "node:fs/promises";
import { join, resolve } from "node:path";
@@ -44,7 +51,9 @@ async function main() {
const INDEX_DEST = join(TEMPLATES_DIR, "index.html");
if (!existsSync(INDEX_SRC)) {
console.error(`Error: ${INDEX_SRC} does not exist. Make sure you built the frontend project first.`);
console.error(
`Error: ${INDEX_SRC} does not exist. Make sure you built the frontend project first.`,
);
process.exit(1);
}