Skip to content

Commit

Permalink
add ignore for frogbot false positive sast
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Jan 28, 2025
1 parent 29124bb commit 5f9cdd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/gitutils/gitmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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://")
Expand Down

0 comments on commit 5f9cdd5

Please sign in to comment.