mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-26 10:58:43 -06:00
Fixing bug with local hooks that disappeared during autoupdate
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user