File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import (
1313 "github.com/checkmarx/ast-cli/internal/commands/asca/ascaconfig"
1414 "github.com/checkmarx/ast-cli/internal/logger"
1515 "github.com/checkmarx/ast-cli/internal/params"
16- commonParams "github.com/checkmarx/ast-cli/internal/params"
1716 "github.com/checkmarx/ast-cli/internal/services/osinstaller"
1817 "github.com/checkmarx/ast-cli/internal/services/realtimeengine"
1918 "github.com/checkmarx/ast-cli/internal/wrappers"
@@ -160,7 +159,7 @@ func buildAscaIgnoreMap(ignored []grpcs.AscaIgnoreFinding) map[string]bool {
160159
161160func manageASCAInstallation (ascaParams AscaScanParams , ascaWrappers AscaWrappersParam ) error {
162161 ASCAInstalled , _ := osinstaller .FileExists (ascaconfig .Params .ExecutableFilePath ())
163- if ! ASCAInstalled || (ascaParams .ASCAUpdateVersion && strings .TrimSpace (strings .ToLower (viper .GetString (commonParams .DisableASCALatestVersionKey ))) != "true" ) {
162+ if ! ASCAInstalled || (ascaParams .ASCAUpdateVersion && strings .TrimSpace (strings .ToLower (viper .GetString (params .DisableASCALatestVersionKey ))) != "true" ) {
164163 logger .PrintIfVerbose ("Ensuring ASCA is installed or is up to date" )
165164 if err := checkLicense (ascaParams .IsDefaultAgent , ascaWrappers ); err != nil {
166165 _ = ascaWrappers .ASCAWrapper .ShutDown ()
You can’t perform that action at this time.
0 commit comments