Skip to content

Commit d12004e

Browse files
committed
fix: indention and remove an empty line
1 parent cf61b36 commit d12004e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -541,10 +541,9 @@ function nested (laterCode, name, key, schema, externalSchema, fullSchema, subKe
541541
funcName = (name + key + subKey).replace(/[-.\[\]]/g, '') // eslint-disable-line
542542
laterCode = buildArray(schema, laterCode, funcName, externalSchema, fullSchema)
543543
code += `
544-
json += ${funcName}(obj${accessor})
545-
`
544+
json += ${funcName}(obj${accessor})
545+
`
546546
break
547-
548547
case undefined:
549548
if ('anyOf' in schema) {
550549
schema.anyOf.forEach((s, index) => {

0 commit comments

Comments
 (0)