We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf04f6 commit c42c7b1Copy full SHA for c42c7b1
bin/codebasin
@@ -267,9 +267,10 @@ def main():
267
except BaseException:
268
raise ValueError("Analysis file failed validation")
269
270
- if "exclude" in analysis_toml["codebase"]:
271
- excludes = analysis_toml["codebase"]["exclude"]
272
- codebase["exclude_patterns"] += excludes
+ if "codebase" in analysis_toml:
+ if "exclude" in analysis_toml["codebase"]:
+ excludes = analysis_toml["codebase"]["exclude"]
273
+ codebase["exclude_patterns"] += excludes
274
275
for name in analysis_toml["platform"].keys():
276
if filtered_platforms and name not in filtered_platforms:
0 commit comments