mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Fixing bug with local hooks that disappeared during autoupdate
This commit is contained in:
parent
2a642b0619
commit
3c02a24655
3 changed files with 27 additions and 3 deletions
|
|
@ -69,6 +69,7 @@ def autoupdate(runner):
|
|||
|
||||
for repo_config in input_configs:
|
||||
if is_local_hooks(repo_config):
|
||||
output_configs.append(repo_config)
|
||||
continue
|
||||
sys.stdout.write('Updating {0}...'.format(repo_config['repo']))
|
||||
sys.stdout.flush()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue