.
This commit is contained in:
parent
d155921ab3
commit
5b12309f26
@ -51,6 +51,7 @@ func (h *RequestHandler) parsePullRequest(data io.ReadCloser) *PullRequestAction
|
||||
repoIdx := strings.LastIndex(action.Repository.Ssh_Url, "/")
|
||||
if repoIdx == -1 || action.Repository.Ssh_Url[repoIdx+1:] != action.Repository.Name+".git" {
|
||||
h.LogError("Unexpected URL for SSH repository: '%s'", action.Repository.Name)
|
||||
h.LogError("%#v", action)
|
||||
return nil
|
||||
}
|
||||
h.PrjGit = action.Repository.Ssh_Url[:repoIdx+1] + DefaultGitPrj + ".git"
|
||||
|
Loading…
Reference in New Issue
Block a user