Skip to content

Commit ec82fd2

Browse files
authored
fix: lint
1 parent ba4be74 commit ec82fd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ function cloneOriginSchema (context, schema, schemaId) {
644644
return clonedSchema
645645
}
646646

647-
function toJSON(variableName) {
647+
function toJSON (variableName) {
648648
return `(${variableName} && typeof ${variableName}.toJSON === 'function')
649649
? ${variableName}.toJSON()
650650
: ${variableName}
@@ -1050,7 +1050,7 @@ function buildSingleTypeSerializer (context, location, input) {
10501050

10511051
function detectRecursiveSchemas (context, location) {
10521052
const pathStack = new Set()
1053-
function traverse(location) {
1053+
function traverse (location) {
10541054
const schema = location.schema
10551055
if (typeof schema !== 'object' || schema === null) return
10561056

0 commit comments

Comments
 (0)