Skip to content

Commit e37def2

Browse files
authored
set proper credential validation message (#37)
1 parent 9c13122 commit e37def2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/checkmarx/ast/wrapper/CxConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void validate() throws InvalidCLIConfigException {
3838

3939
if (StringUtils.isBlank(getApiKey())
4040
&& (StringUtils.isBlank(getClientId()) || StringUtils.isBlank(getClientSecret()))) {
41-
throw new InvalidCLIConfigException("Credentials were is set");
41+
throw new InvalidCLIConfigException("Credentials are not set");
4242
}
4343
}
4444

0 commit comments

Comments
 (0)