Skip to content

Commit

Permalink
Try to simplify expression as suggested by static analysis jfrog#1035
Browse files Browse the repository at this point in the history
  • Loading branch information
guyshe-jfrog committed Dec 6, 2023
1 parent 5ab70d8 commit 240cc8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xray/commands/scan/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func (scanCmd *ScanCommand) Run() (err error) {
cveList := cveListFromVulnerabilities(flatResults)
multiScanId := "" // Also empty for audit
thirdPartyApplicabilityScan := false
workingDirs := []string{(*(*scanCmd).spec).Files[0].Pattern}
workingDirs := []string{(*scanCmd).spec.Files[0].Pattern}
scanResults.JasError = runJasScannersAndSetResults(scanResults, cveList, scanCmd.serverDetails, workingDirs, scanCmd.progress, multiScanId, thirdPartyApplicabilityScan)
}

Expand Down

0 comments on commit 240cc8e

Please sign in to comment.