Skip to content

Commit 54ccb65

Browse files
committed
Add existing repo_config to output_repos
1 parent dc6b9ee commit 54ccb65

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pre_commit/commands/autoupdate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def autoupdate(runner, tags_only, repo=None):
118118
for repo_config in input_config['repos']:
119119
# Skip any repo_configs that aren't the specified repo
120120
if repo and repo != repo_config['repo']:
121+
output_repos.append(repo_config)
121122
continue
122123

123124
if is_local_repo(repo_config) or is_meta_repo(repo_config):

0 commit comments

Comments
 (0)