Skip to content

Commit

Permalink
🐛 Token should be set using @ (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadsBogeskov committed Sep 19, 2024
1 parent 7a4d06d commit 371a101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func GetGitPlan(
if cloneToken == "" {
cloneArg = "https://" + parsedGitPlan.Repository
} else {
cloneArg = fmt.Sprintf("https://%s:%s", cloneToken, parsedGitPlan.Repository)
cloneArg = fmt.Sprintf("https://%s@%s", cloneToken, parsedGitPlan.Repository)
}
} else if parsedGitPlan.Protocol == "ssh" {
cloneArg = parsedGitPlan.User + "@" + parsedGitPlan.Repository
Expand Down

0 comments on commit 371a101

Please sign in to comment.