1
0
Fork 0
mirror of https://github.com/dorny/test-reporter.git synced 2026-02-04 13:37:56 +01:00

Update TypeScript

This commit is contained in:
Michal Dorner 2022-08-19 22:19:29 +02:00
parent 8848447e3f
commit 4c7348c4be
No known key found for this signature in database
GPG key ID: 7325B8B59CA1B65C
4 changed files with 12 additions and 4585 deletions

View file

@ -25,7 +25,8 @@ async function main(): Promise<void> {
const testReporter = new TestReporter()
await testReporter.run()
} catch (error) {
core.setFailed(error.message)
if (error instanceof Error) core.setFailed(error)
else core.setFailed(JSON.stringify(error))
}
}