@@ -149,7 +149,7 @@ func runSecretsScan(params *JasRunnerParams) parallel.TaskFunc {
149149 params .Runner .ResultsMu .Lock ()
150150 defer params .Runner .ResultsMu .Unlock ()
151151 // We first add the scan results and only then check for errors, so we can store the exit code in order to report it in the end
152- params .ScanResults .JasResults . AddJasScanResults (jasutils .Secrets , vulnerabilitiesResults , violationsResults , jas .GetAnalyzerManagerExitCode (err ))
152+ params .ScanResults .AddJasScanResults (jasutils .Secrets , vulnerabilitiesResults , violationsResults , jas .GetAnalyzerManagerExitCode (err ))
153153 if err = jas .ParseAnalyzerManagerError (jasutils .Secrets , err ); err != nil {
154154 return fmt .Errorf ("%s%s" , clientutils .GetLogMsgPrefix (threadId , false ), err .Error ())
155155 }
@@ -166,7 +166,7 @@ func runIacScan(params *JasRunnerParams) parallel.TaskFunc {
166166 params .Runner .ResultsMu .Lock ()
167167 defer params .Runner .ResultsMu .Unlock ()
168168 // We first add the scan results and only then check for errors, so we can store the exit code in order to report it in the end
169- params .ScanResults .JasResults . AddJasScanResults (jasutils .IaC , vulnerabilitiesResults , violationsResults , jas .GetAnalyzerManagerExitCode (err ))
169+ params .ScanResults .AddJasScanResults (jasutils .IaC , vulnerabilitiesResults , violationsResults , jas .GetAnalyzerManagerExitCode (err ))
170170 if err = jas .ParseAnalyzerManagerError (jasutils .IaC , err ); err != nil {
171171 return fmt .Errorf ("%s%s" , clientutils .GetLogMsgPrefix (threadId , false ), err .Error ())
172172 }
@@ -183,7 +183,7 @@ func runSastScan(params *JasRunnerParams) parallel.TaskFunc {
183183 params .Runner .ResultsMu .Lock ()
184184 defer params .Runner .ResultsMu .Unlock ()
185185 // We first add the scan results and only then check for errors, so we can store the exit code in order to report it in the end
186- params .ScanResults .JasResults . AddJasScanResults (jasutils .Sast , vulnerabilitiesResults , violationsResults , jas .GetAnalyzerManagerExitCode (err ))
186+ params .ScanResults .AddJasScanResults (jasutils .Sast , vulnerabilitiesResults , violationsResults , jas .GetAnalyzerManagerExitCode (err ))
187187 if err = jas .ParseAnalyzerManagerError (jasutils .Sast , err ); err != nil {
188188 return fmt .Errorf ("%s%s" , clientutils .GetLogMsgPrefix (threadId , false ), err .Error ())
189189 }
@@ -216,7 +216,7 @@ func runContextualScan(params *JasRunnerParams) parallel.TaskFunc {
216216 params .Runner .ResultsMu .Lock ()
217217 defer params .Runner .ResultsMu .Unlock ()
218218 // We first add the scan results and only then check for errors, so we can store the exit code in order to report it in the end
219- params .ScanResults .JasResults . AddApplicabilityScanResults (jas .GetAnalyzerManagerExitCode (err ), caScanResults ... )
219+ params .ScanResults .AddApplicabilityScanResults (jas .GetAnalyzerManagerExitCode (err ), caScanResults ... )
220220 if err = jas .ParseAnalyzerManagerError (jasutils .Applicability , err ); err != nil {
221221 return fmt .Errorf ("%s%s" , clientutils .GetLogMsgPrefix (threadId , false ), err .Error ())
222222 }
0 commit comments