File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
18
18
[ #2455 ] ( https://github.com/oxsecurity/megalinter/pull/2455 ) .
19
19
20
20
- Core
21
+ - Fix issue preventing plugins to work with flavors
21
22
22
23
- Documentation
23
24
Original file line number Diff line number Diff line change @@ -83,7 +83,9 @@ def check_active_linters_match_flavor(active_linters):
83
83
flavor_linters = all_flavors [flavor ]["linters" ]
84
84
missing_linters = []
85
85
for active_linter in active_linters :
86
- if active_linter .name not in flavor_linters :
86
+ if (
87
+ active_linter .name not in flavor_linters
88
+ ) and active_linter .is_plugin is False :
87
89
missing_linters += [active_linter .name ]
88
90
active_linter .is_active = False
89
91
# Manage cases where linters are missing in flavor
You can’t perform that action at this time.
0 commit comments