Skip to content

Commit

Permalink
Update name of exported variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hampus-andersson-op committed Mar 12, 2024
1 parent 144b562 commit 162911f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/scatools/DependabotService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@ export class DependabotService {
console.log(scaNumberOfSeverity4);


core.exportVariable('scaNumberOfSeverity1', scaNumberOfSeverity1);
core.exportVariable('scaNumberOfSeverity2', scaNumberOfSeverity2);
core.exportVariable('scaNumberOfSeverity3', scaNumberOfSeverity3);
core.exportVariable('scaNumberOfSeverity4', scaNumberOfSeverity4);
core.exportVariable('SCAnumberOfSeverity1', scaNumberOfSeverity1);
core.exportVariable('SCAnumberOfSeverity2', scaNumberOfSeverity2);
core.exportVariable('SCAnumberOfSeverity3', scaNumberOfSeverity3);
core.exportVariable('SCAnumberOfSeverity4', scaNumberOfSeverity4);
}
catch(error){
core.warning("Could not set Dependabot severities")
core.exportVariable('scaNumberOfSeverity1', 0);
core.exportVariable('scaNumberOfSeverity2', 0);
core.exportVariable('scaNumberOfSeverity3', 0);
core.exportVariable('scaNumberOfSeverity4', 0);
core.exportVariable('SCAnumberOfSeverity1', 0);
core.exportVariable('SCAnumberOfSeverity2', 0);
core.exportVariable('SCAnumberOfSeverity3', 0);
core.exportVariable('SCAnumberOfSeverity4', 0);
}

}
Expand Down

0 comments on commit 162911f

Please sign in to comment.