Skip to content

Commit

Permalink
fix error: forget to update perl-junit-parser.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
chylli-deriv committed Jan 18, 2024
1 parent 7939020 commit a40b625
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 26 deletions.
33 changes: 9 additions & 24 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/parsers/perl-junit/perl-junit-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ export class PerlJunitParser implements TestParser {
for (const str of lines) {
const stackTraceElement = parseStackTraceElement(str)
if (stackTraceElement) {
const {tracePath, fileName, lineStr} = stackTraceElement
const filePath = this.getFilePath(tracePath, fileName)
const {filePath, lineStr} = stackTraceElement
if (filePath !== undefined) {
const line = parseInt(lineStr)
return {filePath, line}
Expand Down

0 comments on commit a40b625

Please sign in to comment.