Skip to content

Commit 3003423

Browse files
committed
fix: incorrect logging
1 parent 446bb1d commit 3003423

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,15 +219,15 @@ export async function getWorkflowRunJobSteps(runId: number): Promise<string[]> {
219219
"Fetched Workflow Run Job Steps:\n" +
220220
` Repository: ${config.owner}/${config.repo}\n` +
221221
` Workflow Run ID: ${runId}\n` +
222-
` Jobs Fetched: [${jobs.map((job) => job.id).join(", ")}]` +
222+
` Jobs Fetched: [${jobs.map((job) => job.id).join(", ")}]\n` +
223223
` Steps Fetched: [${steps.join(", ")}]`,
224224
);
225225

226226
return steps;
227227
} catch (error) {
228228
if (error instanceof Error) {
229229
core.error(
230-
`getWorkflowRunJobs: An unexpected error has occurred: ${error.message}`,
230+
`getWorkflowRunJobSteps: An unexpected error has occurred: ${error.message}`,
231231
);
232232
core.debug(error.stack ?? "");
233233
}

0 commit comments

Comments
 (0)