Skip to content

Commit

Permalink
Remove unnecessary * from ignore pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
lbiaggi committed Aug 2, 2024
1 parent 7ecef66 commit c1983dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doorstop/core/vcs/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def ignores(self):
for line in common.read_lines(path):
pattern = line.strip(" @\\/*\n")
if pattern and not pattern.startswith("#"):
self._ignores_cache.append("*" + pattern + "*")
self._ignores_cache.append(pattern + "*")
yield from self._ignores_cache

@property
Expand Down

0 comments on commit c1983dc

Please sign in to comment.