We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5173af commit 384a07dCopy full SHA for 384a07d
1 file changed
src/validator.ts
@@ -9,8 +9,7 @@ ajv.addSchema(schema)
9
10
export const isValidCffFile = () => {
11
const { jsObject } = useCffstr()
12
- const isValid = ajv.validate(`${schema.$id}`, jsObject.value)
13
- return isValid
+ return ajv.validate(`${schema.$id}`, jsObject.value)
14
}
15
16
export const makeFieldValidator = (subschema: string) => {
0 commit comments