Skip to content

Commit

Permalink
Fix #8498, add Vue filePath to error codeFrames
Browse files Browse the repository at this point in the history
  • Loading branch information
lol768 committed Oct 15, 2022
1 parent 4ebb967 commit 9051015
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/transformers/vue/src/VueTransformer.js
Expand Up @@ -188,6 +188,7 @@ function createDiagnostic(err, filePath) {
if (err.loc) {
diagnostic.codeFrames = [
{
filePath,
codeHighlights: [
{
start: {
Expand Down

0 comments on commit 9051015

Please sign in to comment.