From 0a8ceb9e6349284e75545a01ffad608b020f78e2 Mon Sep 17 00:00:00 2001 From: "Emma [it/its]@Rory&" Date: Mon, 11 Dec 2023 01:12:54 +0100 Subject: Actually run prettier --- scripts/schema.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'scripts/schema.js') diff --git a/scripts/schema.js b/scripts/schema.js index ff3280ac..f8374079 100644 --- a/scripts/schema.js +++ b/scripts/schema.js @@ -62,18 +62,13 @@ const Excluded = [ function main() { const program = TJS.programFromConfig( path.join(__dirname, "..", "tsconfig.json"), - walk(path.join(__dirname, "..", "src", "util", "schemas")), + walk(path.join(__dirname, "..", "src", "util", "schemas")) ); const generator = TJS.buildGenerator(program, settings); if (!generator || !program) return; let schemas = generator.getUserSymbols().filter((x) => { - return ( - (x.endsWith("Schema") || - x.endsWith("Response") || - x.startsWith("API")) && - !Excluded.includes(x) - ); + return (x.endsWith("Schema") || x.endsWith("Response") || x.startsWith("API")) && !Excluded.includes(x); }); var definitions = {}; -- cgit 1.5.1