Skip to content

Commit

Permalink
Fix #8498, add Vue filePath to error codeFrames (#8499)
Browse files Browse the repository at this point in the history
  • Loading branch information
lol768 committed Oct 16, 2022
1 parent 4ebb967 commit cf7e899
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 cf7e899

Please sign in to comment.