mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
chore: auto-fix lint & formatting [skip ci]
This commit is contained in:
1 parent
449739ee97
commit
5c31b573d3
2 files changed
+16
-11
No files matched your search
@@ -172,10 +172,12 @@ export async function dispatchEvent(
|
||||
const showEmoji = group?.emoji !== false;
|
||||
const message = formatEvent(route, event, tr, showEmoji);
|
||||
if (event.event === "check_suite") {
|
||||
const suite = event.payload.check_suite as {
|
||||
conclusion?: string;
|
||||
check_runs_url?: string;
|
||||
} | undefined;
|
||||
const suite = event.payload.check_suite as
|
||||
| {
|
||||
conclusion?: string;
|
||||
check_runs_url?: string;
|
||||
}
|
||||
| undefined;
|
||||
if (suite?.conclusion === "failure" && suite.check_runs_url) {
|
||||
const buildLogUrl = await getCheckSuiteBuildLogUrl(
|
||||
suite.check_runs_url,
|
||||
|
||||
Reference in new issue
Block a user