Skip to content

Commit 25ba9c4

Browse files
authored
Merge pull request #55 from SFantasy/hotfix/fix-indention
fix: indention and remove an empty line
2 parents cf61b36 + d12004e commit 25ba9c4

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)