mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-04 12:15:21 -08:00
Update dist/index.js
This commit is contained in:
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;
|
const details = typeof failure === 'object' ? failure._ : failure;
|
||||||
let filePath;
|
let filePath;
|
||||||
let line;
|
let line;
|
||||||
const src = this.exceptionThrowSource(details);
|
if (details != null) {
|
||||||
if (src) {
|
const src = this.exceptionThrowSource(details);
|
||||||
filePath = src.filePath;
|
if (src) {
|
||||||
line = src.line;
|
filePath = src.filePath;
|
||||||
|
line = src.line;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
path: filePath,
|
path: filePath,
|
||||||
|
|||||||
@@ -128,8 +128,7 @@ export class JavaJunitParser implements TestParser {
|
|||||||
let filePath
|
let filePath
|
||||||
let line
|
let line
|
||||||
|
|
||||||
if(details != null)
|
if (details != null) {
|
||||||
{
|
|
||||||
const src = this.exceptionThrowSource(details)
|
const src = this.exceptionThrowSource(details)
|
||||||
if (src) {
|
if (src) {
|
||||||
filePath = src.filePath
|
filePath = src.filePath
|
||||||
|
|||||||
Reference in New Issue
Block a user