From d33f566e4e07e0c45bb7d0dec66127592470df9c Mon Sep 17 00:00:00 2001 From: Jan W Date: Fri, 10 Nov 2023 08:48:31 +0800 Subject: [PATCH] chore: fix linting issues --- src/compile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/compile.js b/src/compile.js index 272cc1d..74be07b 100644 --- a/src/compile.js +++ b/src/compile.js @@ -920,7 +920,9 @@ const compileSchema = (schema, root, opts, scope, basePathRoot = '') => { } const checkGeneric = () => { - handle('not', ['object', 'boolean'], (not) => subruleSub(true, null, current, not, subPath('not'))) + handle('not', ['object', 'boolean'], (not) => + subruleSub(true, null, current, not, subPath('not')) + ) if (node.not) uncertain('not') const thenOrElse = node.then || node.then === false || node.else || node.else === false