fix: prevent workflow destructuring errors for failing tasks (#9649)

When destructuring the output of task in a job workflow handler, there
is a chance of a destructuring error being thrown if the task fails
This commit is contained in:
Alessio Gravili
2024-12-01 19:31:17 -07:00
committed by GitHub
parent f151723745
commit 4cd31ce343

View File

@@ -231,7 +231,7 @@ export const getRunTaskFunction = <TIsInline extends boolean>(
return
}
let output: object
let output: object = {}
try {
const runnerOutput = await runner({