Skip to content

Commit

Permalink
Performance
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbmatter committed Jan 31, 2025
1 parent 433f301 commit 232e39f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/pre-test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import fs from "node:fs";
import generateJSONSchema from "./lib/generateJSONSchema.ts";

if (!fs.existsSync("build/files/league-schema.json")) {
const generateJSONSchema = (await import("./lib/generateJSONSchema.ts"))
.default;
const jsonSchema = generateJSONSchema("test");
fs.mkdirSync("build/files", { recursive: true });
fs.writeFileSync(
Expand Down

0 comments on commit 232e39f

Please sign in to comment.