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
/
not.js
diff --git
a/.config/coc/extensions/node_modules/coc-prettier/node_modules/ajv/lib/dotjs/not.js
b/.config/coc/extensions/node_modules/coc-prettier/node_modules/ajv/lib/dotjs/not.js
index 6aea6599144f8fbfe89a45f5f2d193decdddfbb7..f50c93785b7129b8de3c1429d25199f3e32a9b41 100644
(file)
--- a/
.config/coc/extensions/node_modules/coc-prettier/node_modules/ajv/lib/dotjs/not.js
+++ b/
.config/coc/extensions/node_modules/coc-prettier/node_modules/ajv/lib/dotjs/not.js
@@
-12,7
+12,7
@@
module.exports = function generate_not(it, $keyword, $ruleType) {
var $it = it.util.copy(it);
$it.level++;
var $nextValid = 'valid' + $it.level;
var $it = it.util.copy(it);
$it.level++;
var $nextValid = 'valid' + $it.level;
- if ((it.opts.strictKeywords ?
typeof $schema == 'object' && Object.keys($schema).length > 0
: it.util.schemaHasRules($schema, it.RULES.all))) {
+ if ((it.opts.strictKeywords ?
(typeof $schema == 'object' && Object.keys($schema).length > 0) || $schema === false
: it.util.schemaHasRules($schema, it.RULES.all))) {
$it.schema = $schema;
$it.schemaPath = $schemaPath;
$it.errSchemaPath = $errSchemaPath;
$it.schema = $schema;
$it.schemaPath = $schemaPath;
$it.errSchemaPath = $errSchemaPath;