mirror of
https://gitea.com/gitea/tea.git
synced 2024-06-03 10:11:22 +05:30
add break
This commit is contained in:
parent
82f89c271c
commit
886ecb644d
|
@ -189,6 +189,7 @@ func contextFromLocalRepo(repoPath, remoteValue string) (*git.TeaRepo, *config.L
|
|||
if len(remoteValue) == 0 {
|
||||
for remote := range gitConfig.Remotes {
|
||||
remoteValue = remote
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue