Skip to content

Commit 3a27f6e

Browse files
committed
fix
1 parent 47248d0 commit 3a27f6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/svelte-compile-warns/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ function getWarningsFromCode(
430430
generate: false,
431431
...(semver.satisfies(compiler.VERSION, '>=4.0.0-0')
432432
? { customElement: true }
433-
: hasTagOption(context.getSourceCode().ast)
433+
: hasTagOption(getSourceCode(context).ast)
434434
? { customElement: true }
435435
: {})
436436
});

0 commit comments

Comments
 (0)