Skip to content

Commit dc28feb

Browse files
committed
I thought I had prettier run on save
1 parent 73e4936 commit dc28feb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/vocabularies/validation/const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const def: CodeKeywordDefinition = {
1717
error,
1818
code(cxt: KeywordCxt) {
1919
const {gen, data, $data, schemaCode, schema} = cxt
20-
if($data || (typeof schema === 'object' && schema !== null)){
20+
if ($data || (typeof schema === "object" && schema !== null)) {
2121
cxt.fail$data(_`!${useFunc(gen, equal)}(${data}, ${schemaCode})`)
2222
} else {
2323
cxt.fail(_`${schema}!==${data}`)

lib/vocabularies/validation/enum.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const def: CodeKeywordDefinition = {
4242

4343
function equalCode(vSchema: Name, i: number): Code {
4444
const sch = schema[i]
45-
return typeof sch === "object" && sch!==null
45+
return typeof sch === "object" && sch !== null
4646
? _`${eql}(${data}, ${vSchema}[${i}])`
4747
: _`${data} === ${sch}`
4848
}

0 commit comments

Comments
 (0)