Skip to content

Commit 654d5f4

Browse files
author
cx-Margarita-LevitM
committed
Fix gocritic issue
1 parent 0dd9343 commit 654d5f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/commands/result.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2012,7 +2012,7 @@ func convertCxResultsToSarif(results *wrappers.ScanResultsCollection) *wrappers.
20122012
return sarif
20132013
}
20142014

2015-
func convertCxResultToGlSastVulnerability(results *wrappers.ScanResultsCollection, glSast *wrappers.GlSastResultsCollection, summaryBaseURI string, projectID string, scanID string) {
2015+
func convertCxResultToGlSastVulnerability(results *wrappers.ScanResultsCollection, glSast *wrappers.GlSastResultsCollection, summaryBaseURI, projectID, scanID string) {
20162016
for _, result := range results.Results {
20172017
if strings.TrimSpace(result.Type) == commonParams.SastType {
20182018
glSast = parseGlSastVulnerability(result, glSast, summaryBaseURI, projectID, scanID)
@@ -2035,7 +2035,7 @@ func convertCxResultToGlScaFiles(results *wrappers.ScanResultsCollection, glScaR
20352035
}
20362036
}
20372037
}
2038-
func parseGlSastVulnerability(result *wrappers.ScanResult, glSast *wrappers.GlSastResultsCollection, summaryBaseURI string, projectID string, scanID string) *wrappers.GlSastResultsCollection {
2038+
func parseGlSastVulnerability(result *wrappers.ScanResult, glSast *wrappers.GlSastResultsCollection, summaryBaseURI, projectID, scanID string) *wrappers.GlSastResultsCollection {
20392039
hostName := parseURI(summaryBaseURI)
20402040

20412041
queryName := result.ScanResultData.QueryName

0 commit comments

Comments
 (0)