Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / ajv / lib / dot / definitions.def
index db4ea6f32c11c0999b6ad2c036fadcc7abbb4f4f..709cce36d2b038b730f223527fd927ba94a41f33 100644 (file)
@@ -64,7 +64,8 @@
 
 {{## def.nonEmptySchema:_schema:
   (it.opts.strictKeywords
-    ? typeof _schema == 'object' && Object.keys(_schema).length > 0
+    ? (typeof _schema == 'object' && Object.keys(_schema).length > 0)
+      || _schema === false
     : it.util.schemaHasRules(_schema, it.RULES.all))
 #}}