Skip to content

Commit

Permalink
Merge pull request #95 from anaconda-distribution/fix-windows-patch-test
Browse files Browse the repository at this point in the history
Add m2-patch to acceptable dependencies
  • Loading branch information
danpetry authored Oct 14, 2022
2 parents 4d15599 + 31b1abb commit 8ac4af5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions anaconda_linter/lint/check_build_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ def check_deps(self, deps):
if "patch" in deps:
if any("build" not in location for location in deps["patch"]["paths"]):
self.message(section="build")
elif "m2-patch" in deps:
if any("build" not in location for location in deps["m2-patch"]["paths"]):
self.message(section="build")
else:
self.message(section="build")

Expand Down

0 comments on commit 8ac4af5

Please sign in to comment.