mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Add existing repo_config to output_repos
This commit is contained in:
parent
dc6b9eed22
commit
54ccb65a09
1 changed files with 1 additions and 0 deletions
|
|
@ -118,6 +118,7 @@ def autoupdate(runner, tags_only, repo=None):
|
|||
for repo_config in input_config['repos']:
|
||||
# Skip any repo_configs that aren't the specified repo
|
||||
if repo and repo != repo_config['repo']:
|
||||
output_repos.append(repo_config)
|
||||
continue
|
||||
|
||||
if is_local_repo(repo_config) or is_meta_repo(repo_config):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue