Skip to content

Commit

Permalink
Fix ansible#4142 - config file in proj dir
Browse files Browse the repository at this point in the history
  • Loading branch information
erichoog committed Feb 28, 2024
1 parent 4767203 commit 31d892a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/molecule/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,9 @@ def _filter_platforms(config, platform_name):


@cache
def find_vcs_root(location="", dirs=(".git", ".hg", ".svn"), default=None) -> str:
def find_vcs_root(
location="", dirs=(".git", ".hg", ".svn", ".config"), default=None,
) -> str:
"""Return current repository root directory."""
if not location:
location = os.getcwd()
Expand Down

0 comments on commit 31d892a

Please sign in to comment.