Skip to content

Find, verify, and analyze leaked credentials

Fix GitUrl Return (#987)

Pulkit Aggarwalfc6fd29f3ff8
diff --git a/pkg/giturl/giturl.go b/pkg/giturl/giturl.go
index 0c5fd4544..a4f1c49c1 100644
--- a/pkg/giturl/giturl.go
+++ b/pkg/giturl/giturl.go
@@ -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) {