mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 06:47:09 +01:00
build?
This commit is contained in:
parent
1d5276a2d9
commit
e68c4b3066
1 changed files with 3 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ import {SwiftXunitParser} from './parsers/swift-xunit/swift-xunit-parser'
|
|||
|
||||
import {normalizeDirPath, normalizeFilePath} from './utils/path-utils'
|
||||
import {getCheckRunContext} from './utils/github-utils'
|
||||
import { IncomingWebhook } from '@slack/webhook'
|
||||
import {IncomingWebhook} from '@slack/webhook'
|
||||
|
||||
async function main(): Promise<void> {
|
||||
try {
|
||||
|
|
@ -209,8 +209,8 @@ class TestReporter {
|
|||
core.setOutput('url_html', resp.data.html_url)
|
||||
|
||||
if (isFailed && this.slackWebhook) {
|
||||
const webhook = new IncomingWebhook(this.slackWebhook);
|
||||
await webhook.send("Test run failed: " + resp.data.html_url);
|
||||
const webhook = new IncomingWebhook(this.slackWebhook)
|
||||
await webhook.send('Test run failed: ' + resp.data.html_url)
|
||||
}
|
||||
return results
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue