Skip to content

Commit

Permalink
fix lint implementation for case of missing build section
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Aug 16, 2023
1 parent 0f7f3d1 commit 6ab989f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioconda_utils/lint/check_build_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,6 @@ class missing_run_exports(LintCheck):
has to be merged before the one updating or creating the depending recipe is created.
"""
def check_recipe(self, recipe):
build = recipe.meta["build"]
build = recipe.meta.get("build", dict())
if "run_exports" not in build:
self.message()

0 comments on commit 6ab989f

Please sign in to comment.