From 80f87585891980bf6dd57860c998a02771804a7c Mon Sep 17 00:00:00 2001 From: Jay Gabriels Date: Sat, 15 Jun 2024 09:28:30 -0700 Subject: [PATCH] Update bitbucket.go --- scm/bitbucket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm/bitbucket.go b/scm/bitbucket.go index d7b0619b57..cd4eff19da 100644 --- a/scm/bitbucket.go +++ b/scm/bitbucket.go @@ -113,7 +113,7 @@ func (_ Bitbucket) filter(resp []bitbucket.Repository) (repoData []Repo, err err func insertAppPasswordCredentialsIntoURL(url string) string { password := os.Getenv("GHORG_BITBUCKET_APP_PASSWORD") - credentials := fmt.Sprintf(":%s@", password) + credentials := ":" + password + "@" urlWithCredentials := strings.Replace(url, "@", credentials, 1) return urlWithCredentials