Skip to content

Commit

Permalink
Fix formatting of the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozef Izso committed Jun 25, 2024
1 parent 521e122 commit 21ae91e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/parsers/java-junit/java-junit-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,11 @@ export class JavaJunitParser implements TestParser {
}
}



let message
if(typeof failure === 'object') {
if (typeof failure === 'object') {
message = failure.$.message
if(failure.$?.type) {
message = failure.$.type + ": "+ message
if (failure.$?.type) {
message = failure.$.type + ': ' + message
}
}
return {
Expand Down

0 comments on commit 21ae91e

Please sign in to comment.