diff --git a/bioconda_utils/lint/check_build_help.py b/bioconda_utils/lint/check_build_help.py index e9154cb0fe..f6407ffd8b 100644 --- a/bioconda_utils/lint/check_build_help.py +++ b/bioconda_utils/lint/check_build_help.py @@ -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()