projects
/
dotfiles
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Giant blob of minor changes
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
ajv
/
lib
/
dotjs
/
allOf.js
diff --git
a/.config/coc/extensions/node_modules/coc-prettier/node_modules/ajv/lib/dotjs/allOf.js
b/.config/coc/extensions/node_modules/coc-prettier/node_modules/ajv/lib/dotjs/allOf.js
index 8fd2e8f4804d8bb991bf122516b20e0073ad6b24..fb8c2e4bbefe95fbf3e0004ecbfdfa7f6f0902f8 100644
(file)
--- a/
.config/coc/extensions/node_modules/coc-prettier/node_modules/ajv/lib/dotjs/allOf.js
+++ b/
.config/coc/extensions/node_modules/coc-prettier/node_modules/ajv/lib/dotjs/allOf.js
@@
-17,7
+17,7
@@
module.exports = function generate_allOf(it, $keyword, $ruleType) {
l1 = arr1.length - 1;
while ($i < l1) {
$sch = arr1[$i += 1];
l1 = arr1.length - 1;
while ($i < l1) {
$sch = arr1[$i += 1];
- if ((it.opts.strictKeywords ?
typeof $sch == 'object' && Object.keys($sch).length > 0
: it.util.schemaHasRules($sch, it.RULES.all))) {
+ if ((it.opts.strictKeywords ?
(typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false
: it.util.schemaHasRules($sch, it.RULES.all))) {
$allSchemasEmpty = false;
$it.schema = $sch;
$it.schemaPath = $schemaPath + '[' + $i + ']';
$allSchemasEmpty = false;
$it.schema = $sch;
$it.schemaPath = $schemaPath + '[' + $i + ']';