summary refs log tree commit diff
path: root/scripts/schema.js
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-17 09:58:25 +0100
committerRory& <root@rory.gay>2025-12-17 11:04:16 +0100
commit11973397c812da59c2d544047bbb2d2d9ae583a7 (patch)
tree3e2064c4f6ff306241910dbfb877c03f46f935aa /scripts/schema.js
parentFix extension cleanup stuff from Mathium05 (diff)
downloadserver-ts-dev/emma-wip.tar.xz
Diffstat (limited to 'scripts/schema.js')
-rw-r--r--scripts/schema.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/schema.js b/scripts/schema.js

index 5e4485d1..1779c8d6 100644 --- a/scripts/schema.js +++ b/scripts/schema.js
@@ -114,12 +114,12 @@ const excludedLambdas = [ } }, (n, s) => { - if (s.properties && Object.keys(s.properties).every(x=> x[0] === x[0].toUpperCase())) { + if (s.properties && Object.keys(s.properties).every((x) => x[0] === x[0].toUpperCase())) { console.log(`\r${redBright("[WARN]")} Omitting schema ${n} as all its properties have uppercase characters.`); exclusionList.auto.push({ value: n, reason: "Schema with only uppercase properties" }); return true; } - } + }, // (n, s) => { // if (JSON.stringify(s).length <= 300) { // console.log({n, s});