Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jsw1993 committed Dec 17, 2022
1 parent f5ad1ae commit dda6244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/events/event_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ func (e *EventParser) ParseAzureDevopsRepo(adRepo *azuredevops.GitRepository) (m
}

cloneURL := ""
if strings.Contains(host,"visualstudio.com") {
if strings.Contains(host, "visualstudio.com") {
cloneURL = fmt.Sprintf("https://%s/%s/_git/%s", host, project, repo)
} else {
cloneURL = fmt.Sprintf("https://%s/%s/%s/_git/%s", host, owner, project, repo)
Expand Down

0 comments on commit dda6244

Please sign in to comment.