forked from AFPy/potodo
Fixed the missisng file error
This commit is contained in:
parent
b33e5e8907
commit
d83883c2db
|
@ -117,7 +117,10 @@ def exec_potodo(
|
|||
"is_interactive": is_interactive,
|
||||
}
|
||||
|
||||
ignore_matches = parse_gitignore(path / ".potodoignore")
|
||||
try:
|
||||
ignore_matches = parse_gitignore(path / ".potodoignore")
|
||||
except FileNotFoundError:
|
||||
ignore_matches = parse_gitignore("/dev/null")
|
||||
|
||||
# Initialize the arguments
|
||||
issue_reservations = get_issue_reservations(offline, hide_reserved, path)
|
||||
|
|
Loading…
Reference in New Issue
Block a user