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