mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-19 15:37:09 +01:00
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
parent
258d3a0780
commit
dd2ae7c835
38 changed files with 40986 additions and 17818 deletions
|
|
@ -19,6 +19,6 @@ export function parseIsoDate(str: string): Date {
|
|||
}
|
||||
|
||||
export function getFirstNonEmptyLine(stackTrace: string): string | undefined {
|
||||
const lines = stackTrace.split(/\r?\n/g)
|
||||
return lines.find(str => !/^\s*$/.test(str))
|
||||
const lines = stackTrace?.split(/\r?\n/g)
|
||||
return lines?.find(str => !/^\s*$/.test(str))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue