mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
Update dist/index.js
This commit is contained in:
parent
a91086638b
commit
86d6ec5dd5
2 changed files with 7 additions and 6 deletions
10
dist/index.js
generated
vendored
10
dist/index.js
generated
vendored
|
|
@ -1037,10 +1037,12 @@ class JavaJunitParser {
|
|||
const details = typeof failure === 'object' ? failure._ : failure;
|
||||
let filePath;
|
||||
let line;
|
||||
const src = this.exceptionThrowSource(details);
|
||||
if (src) {
|
||||
filePath = src.filePath;
|
||||
line = src.line;
|
||||
if (details != null) {
|
||||
const src = this.exceptionThrowSource(details);
|
||||
if (src) {
|
||||
filePath = src.filePath;
|
||||
line = src.line;
|
||||
}
|
||||
}
|
||||
return {
|
||||
path: filePath,
|
||||
|
|
|
|||
|
|
@ -128,8 +128,7 @@ export class JavaJunitParser implements TestParser {
|
|||
let filePath
|
||||
let line
|
||||
|
||||
if(details != null)
|
||||
{
|
||||
if (details != null) {
|
||||
const src = this.exceptionThrowSource(details)
|
||||
if (src) {
|
||||
filePath = src.filePath
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue