mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-18 15:19:17 +02:00
fix broken hooks
This commit is contained in:
1 parent
22170232bb
commit
f32e445b27
1 file changed
-1
@@ -77,7 +77,6 @@ func goGet(ctx *context.Context) {
|
||||
goGetImport := context.ComposeGoGetImport(ctx, ownerName, trimmedRepoName)
|
||||
|
||||
var cloneURL string
|
||||
gid, _ := strconv.ParseInt(group, 10, 64)
|
||||
if setting.Repository.GoGetCloneURLProtocol == "ssh" {
|
||||
cloneURL = repo_model.ComposeSSHCloneURL(ctx.Doer, ownerName, repoName, gid)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user