Skip to content

Commit

Permalink
parse to string
Browse files Browse the repository at this point in the history
  • Loading branch information
hulkoba committed May 23, 2024
1 parent 62e42b5 commit 7c73c86
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions conda_smithy/lint_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ def find_local_config_file(recipe_dir, filename):
# 2. staged-recipes with custom conda-forge.yaml in recipe
# 3. staged-recipes
found_filesname = (
glob(Path(recipe_dir) / filename)
or glob(
glob(str(Path(recipe_dir) / filename))
or glob(str(
Path(recipe_dir).parent / filename,
)
or glob(
))
or glob(str(
Path(recipe_dir).parent.parent / filename,
)
))
)

return found_filesname[0] if found_filesname else None
Expand Down

0 comments on commit 7c73c86

Please sign in to comment.