Skip to content

Commit

Permalink
Make linters angry
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Oct 1, 2024
1 parent 51bd21d commit e536988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcs-diff-lint
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class _Worker: # pylint: disable=too-few-public-methods
self.projectdir = '.'
self.projectsubdir = '.'
return
if glob.glob(os.path.join(path, '*.spec')):
if path.endswith('.spec'):
rel_projdir(path)
return
if os.path.exists(os.path.join(path, ".vcs-diff-lint.yml")):
Expand Down

0 comments on commit e536988

Please sign in to comment.