Skip to content

Commit

Permalink
little fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dzencot committed Jul 3, 2024
1 parent 9cd4275 commit 581f5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const getLineError = (error) => {
match,
} = error;

const lineError = `${fileName}#${lineNumber}#${match.context.offset}#${match.context.length}`;
const lineError = [fileName, lineNumber, match.context.offset, match.context.length].join(':');

return lineError;
};
Expand Down

0 comments on commit 581f5b0

Please sign in to comment.