Skip to content

Commit 0bdd905

Browse files
Resolved SCS resubmission issue and updated JetBrains test case name for clarity
1 parent c570a67 commit 0bdd905

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

internal/commands/result_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func TestRunScsResultsShow_VSCode_AgentShouldNotShowScorecardResults(t *testing.
197197
mock.SetScsMockVarsToDefault()
198198
}
199199

200-
func TestRunScsResultsShow_Other_AgentsShouldNotShowScsResults(t *testing.T) {
200+
func TestRunScsResultsShow_Jetbrains_AgentShouldShowScsResults(t *testing.T) {
201201
clearFlags()
202202
mock.HasScs = true
203203
mock.ScsScanPartial = false

internal/commands/scan.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,7 @@ func getResubmitConfiguration(scansWrapper wrappers.ScansWrapper, projectID, use
10301030

10311031
if len(allScansModel.Scans) > 0 {
10321032
scanModelResponse := allScansModel.Scans[0]
1033+
scanModelResponse.ReplaceMicroEnginesWithSCS()
10331034
config = scanModelResponse.Metadata.Configs
10341035
engines := scanModelResponse.Engines
10351036
// Check if there are no scan types sent using the flags, and use the latest scan engine types

0 commit comments

Comments
 (0)