Skip to content

Commit f293135

Browse files
committed
Return after update succeeds
1 parent 05016c4 commit f293135

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

django_mongodb_cli/repo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def update(repo, ctx, repo_names, all_repos):
157157
== repo_name
158158
):
159159
repo_update(repo_entry, url_pattern, repo)
160+
return
160161
click.echo(f"Repository '{repo_name}' not found.")
161162
return
162163

0 commit comments

Comments
 (0)