mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
chore: auto-fix lint & formatting [skip ci]
This commit is contained in:
parent
78f0a4e28a
commit
38ea820606
2 changed files with 7 additions and 3 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue