mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 18:16:52 +00:00
appveyor installed git-lfs, fix coverage
This commit is contained in:
parent
9573c13884
commit
a7971b7d26
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ from pre_commit_hooks.util import cmd_output
|
|||
def lfs_files():
|
||||
try: # pragma: no cover (no git-lfs)
|
||||
lines = cmd_output('git', 'lfs', 'status', '--porcelain').splitlines()
|
||||
except CalledProcessError:
|
||||
except CalledProcessError: # pragma: no cover (with git-lfs)
|
||||
lines = []
|
||||
|
||||
modes_and_fileparts = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue