diff --git a/src/drivers/types.ts b/src/drivers/types.ts index a74c596..c57bb97 100644 --- a/src/drivers/types.ts +++ b/src/drivers/types.ts @@ -16,5 +16,10 @@ export interface PlatformDriver { * Edit an already-sent message in place (e.g. workflow run progress updates). * Must be implemented by drivers that support message updates. */ - edit(message: NeutralMessage, target: RouteTarget, env: Env, messageId: string): Promise; + edit( + message: NeutralMessage, + target: RouteTarget, + env: Env, + messageId: string, + ): Promise; } diff --git a/src/formatters/workflow.ts b/src/formatters/workflow.ts index 4cf569b..f438527 100644 --- a/src/formatters/workflow.ts +++ b/src/formatters/workflow.ts @@ -184,8 +184,7 @@ export function formatWorkflowRun( url: workflow.html_url, color: GITHUB_COLORS[colorKey], fields, - updateKey: - repo && workflow.id != null ? `workflow_run:${repo}:${workflow.id}` : undefined, + updateKey: repo && workflow.id != null ? `workflow_run:${repo}:${workflow.id}` : undefined, }, t, repo,