From 162911fc2019194421d6b62fe1a3c77f647b769f Mon Sep 17 00:00:00 2001 From: hampus-andersson-op Date: Tue, 12 Mar 2024 15:32:06 +0100 Subject: [PATCH] Update name of exported variable --- src/scatools/DependabotService.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/scatools/DependabotService.ts b/src/scatools/DependabotService.ts index db71e7aa..4c80a493 100644 --- a/src/scatools/DependabotService.ts +++ b/src/scatools/DependabotService.ts @@ -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); } }