Skip to content

Commit

Permalink
Actually call getFinalJobStatus()
Browse files Browse the repository at this point in the history
  • Loading branch information
angelapwen committed Jan 25, 2024
1 parent 0429e3d commit f0dbc07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
5 changes: 1 addition & 4 deletions lib/init-action-post.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/init-action-post.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions src/init-action-post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ async function runWrapper() {
const statusReport: InitPostStatusReport = {
...statusReportBase,
...uploadFailedSarifResult,
job_status: process.env[EnvVar.JOB_STATUS]
? (process.env[EnvVar.JOB_STATUS] as JobStatus)
: JobStatus.Unknown,
job_status: initActionPostHelper.getFinalJobStatus(),
};
await sendStatusReport(statusReport);
}
Expand Down

0 comments on commit f0dbc07

Please sign in to comment.