diff --git a/utils/gitutils/gitmanager.go b/utils/gitutils/gitmanager.go index d9d9d373..7c9d45a9 100644 --- a/utils/gitutils/gitmanager.go +++ b/utils/gitutils/gitmanager.go @@ -176,6 +176,7 @@ func getRemoteUrl(remote *goGit.Remote) (remoteUrl string, err error) { // Normalize the URL by removing protocol prefix and any trailing ".git" func normalizeGitUrl(url string) string { + // jfrog-ignore - false positive, not used for communication url = strings.TrimPrefix(url, "http://") url = strings.TrimPrefix(url, "https://") url = strings.TrimPrefix(url, "ssh://")