Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KermanX committed Aug 13, 2024
1 parent 89a35d9 commit 59a367c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function* generateElementDirectives(
prop.exp.loc.end.offset,
ctx.codeFeatures.verification,
'["value"',
[' '.repeat(prop.exp.content.length - 1) + ']', 'template', prop.exp.loc.start.offset, ctx.codeFeatures.verification] satisfies Code,
prop.exp.content.length ? [' '.repeat(prop.exp.content.length - 1) + ']', 'template', prop.exp.loc.start.offset, ctx.codeFeatures.verification] satisfies Code : ']',
': ',
),
...wrapWith(
Expand Down

0 comments on commit 59a367c

Please sign in to comment.