Skip to content

Commit af96f9d

Browse files
committed
Fix useless change in config output (standard rules are unexpectedly exported)
1 parent 5ce2a90 commit af96f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sonar/rules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def export(endpoint: platform.Platform, export_settings: types.ConfigSettings, k
247247
rule_list["instantiated"] = instantiated_rules
248248
if len(extended_rules) > 0:
249249
rule_list["extended"] = extended_rules
250-
if len(other_rules) > 0:
250+
if len(other_rules) > 0 and full:
251251
rule_list["standard"] = other_rules
252252
return rule_list
253253

0 commit comments

Comments
 (0)