massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / table / node_modules / ajv / dist / vocabularies / applicator / not.js
index 60ad2b9a7c4dab7bdc480f88b2a27790ec013fb8..89f6fddacf261c7ddb4a40094040239dba77b060 100644 (file)
@@ -7,7 +7,7 @@ const def = {
     trackErrors: true,
     code(cxt) {
         const { gen, schema, it } = cxt;
-        if (util_1.alwaysValidSchema(it, schema)) {
+        if ((0, util_1.alwaysValidSchema)(it, schema)) {
             cxt.fail();
             return;
         }
@@ -18,7 +18,7 @@ const def = {
             createErrors: false,
             allErrors: false,
         }, valid);
-        cxt.result(valid, () => cxt.error(), () => cxt.reset());
+        cxt.failResult(valid, () => cxt.reset(), () => cxt.error());
     },
     error: { message: "must NOT be valid" },
 };