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
78f0a4e28a
commit
38ea820606
2 files changed
+7
-3
No files matched your search
@@ -16,5 +16,10 @@ export interface PlatformDriver {
|
|||||||
* Edit an already-sent message in place (e.g. workflow run progress updates).
|
* Edit an already-sent message in place (e.g. workflow run progress updates).
|
||||||
* Must be implemented by drivers that support message updates.
|
* Must be implemented by drivers that support message updates.
|
||||||
*/
|
*/
|
||||||
edit(message: NeutralMessage, target: RouteTarget, env: Env, messageId: string): Promise<SendResult>;
|
edit(
|
||||||
|
message: NeutralMessage,
|
||||||
|
target: RouteTarget,
|
||||||
|
env: Env,
|
||||||
|
messageId: string,
|
||||||
|
): Promise<SendResult>;
|
||||||
}
|
}
|
||||||
@@ -184,8 +184,7 @@ export function formatWorkflowRun(
|
|||||||
url: workflow.html_url,
|
url: workflow.html_url,
|
||||||
color: GITHUB_COLORS[colorKey],
|
color: GITHUB_COLORS[colorKey],
|
||||||
fields,
|
fields,
|
||||||
updateKey:
|
updateKey: repo && workflow.id != null ? `workflow_run:${repo}:${workflow.id}` : undefined,
|
||||||
repo && workflow.id != null ? `workflow_run:${repo}:${workflow.id}` : undefined,
|
|
||||||
},
|
},
|
||||||
t,
|
t,
|
||||||
repo,
|
repo,
|
||||||
|
|||||||
Reference in new issue
Block a user