Fix GitUrl Return (#987)

Co-authored-by: ahrav <ahravdutta02@gmail.com>
This commit is contained in:
Pulkit Aggarwal 2023-01-10 04:17:30 +11:00 committed by GitHub
parent ee6817ad85
commit fc6fd29f3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ func NormalizeBitbucketRepo(repoURL string) (string, error) {
return "", errors.New("Bitbucket requires https repo urls: e.g. https://bitbucket.org/org/repo.git")
}
return NormalizeOrgRepoURL("Gitlab", repoURL)
return NormalizeOrgRepoURL("Bitbucket", repoURL)
}
func NormalizeGerritProject(project string) (string, error) {