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});
|