Fix formatting of the code

This commit is contained in:
Jozef Izso 2024-06-25 14:37:43 +02:00
parent 521e122f40
commit 21ae91ed3c

View file

@ -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 {