Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try fix false positive vuln
Browse files Browse the repository at this point in the history
attiasas committed Jan 28, 2025
1 parent 15fbaf7 commit 9bddb35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/gitutils/gitmanager.go
Original file line number Diff line number Diff line change
@@ -188,7 +188,7 @@ func getGitRepoName(url string) string {
}

func getGitProject(url string) string {
// First part after base Url is the owner/organization name.
// First part after base Url is the owner or the organization name.
urlParts := strings.Split(normalizeGitUrl(url), "/")
if len(urlParts) < 2 {
log.Debug(fmt.Sprintf("Failed to get project name from URL: %s", url))

0 comments on commit 9bddb35

Please sign in to comment.