diff options
Diffstat (limited to 'scripts/generate_schema.js')
-rw-r--r-- | scripts/generate_schema.js | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/scripts/generate_schema.js b/scripts/generate_schema.js index 6925df5d..e4bdd0c4 100644 --- a/scripts/generate_schema.js +++ b/scripts/generate_schema.js @@ -36,7 +36,7 @@ const Excluded = [ "UncheckedPropertiesSchema", "PropertiesSchema", "AsyncSchema", - "AnySchema", + "AnySchema" ]; function modify(obj) { @@ -48,13 +48,8 @@ function modify(obj) { } function main() { - const files = [ - ...walk(path.join(__dirname, "..", "src", "util", "schemas")), - ]; - const program = TJS.getProgramFromFiles( - files, - compilerOptions - ); + const files = [...walk(path.join(__dirname, "..", "src", "util", "schemas"))]; + const program = TJS.getProgramFromFiles(files, compilerOptions); const generator = TJS.buildGenerator(program, settings); if (!generator || !program) return; |