Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/cflint/main/CFLintMain.java
Original file line number Diff line number Diff line change
@@ -303,7 +303,7 @@ protected static void applyRuleGroups(final CFLintMain main, final CFLintPluginI
final String rulegroups) {
final boolean include = !rulegroups.startsWith("!");
for (RuleGroup rg : pluginInfo.getRuleGroups()) {
if (rulegroups.contains(rg.getName()) == include) {
if (rulegroups.contains(rg.getName())) {
if (include) {
main.defaultConfig.getIncludes().addAll(rg.getMessages());
} else {

0 comments on commit 5ef3be7

Please sign in to comment.