Skip to content

Commit

Permalink
Update check_repodata_patches.py
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester authored Aug 23, 2023
1 parent 4f20d45 commit 3e19395
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bioconda_utils/lint/check_repodata_patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class repodata_patches_no_version_bump(LintCheck):
Please set the version to the current date in the format ``YYYYMMDD``.
"""
def check_recipe(self, recipe):
if recipe.get("name") != "bioconda-repodata-patches":
if recipe.get("package/name") != "bioconda-repodata-patches":
return
repodata = utils.RepoData()
old_versions = repodata.get_versions("bioconda-repodata-patches")
Expand All @@ -25,6 +25,6 @@ class repodata_patches_show_diff(LintCheck):
severity = INFO

def check_recipe(self, recipe):
if recipe.get("name") != "bioconda-repodata-patches":
if recipe.get("package/name") != "bioconda-repodata-patches":
return
# TODO run diff script and display the diff as a lint message
# TODO run diff script and display the diff as a lint message

0 comments on commit 3e19395

Please sign in to comment.