Skip to content

Commit

Permalink
fix: Revert debug change
Browse files Browse the repository at this point in the history
  • Loading branch information
ksentak committed Aug 29, 2024
1 parent b45f5fc commit 08e26f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macrofier/types.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,8 @@ const insertObjectMacros = (content, schema, module, title, property, options) =
const description = getSchemaDescription(prop, module)
let replacedTemplate = template
.replace(/(^\s+)/g, '$1'.repeat(options2.level))
.replace(/\$\{property\}/g, name)
.replace(/\$\{Property\}/g, capitalize(name))
.replace(/\$\{property\}/g, safePropName(name))
.replace(/\$\{Property\}/g, capitalize(safePropName(name)))
.replace(/\$\{parent\.title\}/g, title)
.replace(/\$\{title\}/g, type)
.replace(/\$\{shape\}/g, schemaShape)
Expand Down

0 comments on commit 08e26f6

Please sign in to comment.