We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e92984a commit a246d9eCopy full SHA for a246d9e
1 file changed
internal/services/realtimeengine/common.go
@@ -3,7 +3,6 @@ package realtimeengine
3
import (
4
"os"
5
6
- errorconstants "github.com/checkmarx/ast-cli/internal/constants/errors"
7
"github.com/checkmarx/ast-cli/internal/params"
8
"github.com/checkmarx/ast-cli/internal/wrappers"
9
"github.com/pkg/errors"
@@ -37,7 +36,7 @@ func EnsureLicense(jwtWrapper wrappers.JWTWrapper) error {
37
36
if aiAllowed || assistAllowed {
38
return nil
39
}
40
- return errors.Wrap(err, errorconstants.NoASCALicense)
+ return errors.New("User has a valid license for AI Protection or Checkmarx One Assist")
41
42
43
// ValidateFilePath validates that the file path exists and is accessible.
0 commit comments