Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored and Disservin committed Aug 15, 2024
1 parent 7d2e787 commit 34c9f9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/compiler-core/src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,7 @@ function backTrack(index: number, c: number) {
}

const specialTemplateDir = new Set(['if', 'else', 'else-if', 'for', 'slot'])
function isFragmentTemplate(
{ tag, props, loc }: ElementNode,
): boolean {
function isFragmentTemplate({ tag, props, loc }: ElementNode): boolean {
if (tag === 'template') {
for (let i = 0; i < props.length; i++) {
if (
Expand Down

0 comments on commit 34c9f9c

Please sign in to comment.