Clean up destructuring

This commit is contained in:
Colin McDonnell
2025-12-15 23:32:02 -08:00
parent b833cdd4af
commit e383dd33dd
3 changed files with 34 additions and 30 deletions
+3 -2
View File
@@ -40,8 +40,9 @@ export function buildPullfrogFooter(params: BuildPullfrogFooterParams): string {
}
if (params.workflowRun) {
const { owner, repo, runId } = params.workflowRun;
parts.push(`[View workflow run](https://github.com/${owner}/${repo}/actions/runs/${runId})`);
parts.push(
`[View workflow run](https://github.com/${params.workflowRun.owner}/${params.workflowRun.repo}/actions/runs/${params.workflowRun.runId})`
);
}
if (params.customParts) {