Fixed potodoignre matching

This commit is contained in:
Jules Lasne (jlasne - seluj78) 2020-10-15 10:31:48 +02:00
parent b0f07e8b68
commit 7de2243cd3
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
venv/
venv/

View File

@ -122,7 +122,7 @@ def exec_potodo(
}
try:
ignore_matches = parse_gitignore(path / ".potodoignore")
ignore_matches = parse_gitignore(".potodoignore", base_dir=path)
except FileNotFoundError:
ignore_matches = parse_gitignore("/dev/null")