Skip to content

Commit

Permalink
Update bitbucket.go
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrie30 committed Jun 15, 2024
1 parent c783d4f commit 80f8758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scm/bitbucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80f8758

Please sign in to comment.