Skip to content

Commit e3d10ae

Browse files
authored
Better filter of regional schemas (#3625)
1 parent d9dd49e commit e3d10ae

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/release/generator.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,7 @@ def _build_patch(path, patch):
9797
)
9898

9999
for rule in rules:
100-
if rule.__class__.__base__ == (
101-
"cfnlint.rules.jsonschema."
102-
"CfnLintJsonSchemaRegional.CfnLintJsonSchemaRegional"
103-
):
100+
if rule.__class__.__base__.__name__ == "CfnLintJsonSchemaRegional":
104101
continue
105102
if not rule.id or rule.schema == {}:
106103
continue

0 commit comments

Comments
 (0)