Skip to content

Commit

Permalink
chore: fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sparten11740 committed Nov 10, 2023
1 parent d0cbcb9 commit d33f566
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d33f566

Please sign in to comment.