diff --git a/src/main.ts b/src/main.ts index 8b6b300..d71b5c0 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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 { 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 }