Skip to content

Commit

Permalink
chore: bump git scheme to git::
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <xpf6677@163.com>
  • Loading branch information
Peefy committed May 7, 2024
1 parent 58ffbdb commit 49f6ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/source/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const (

// IsGit determines whether or not a source is to be treated as a git source.
func IsGit(src string) bool {
return strings.HasPrefix(src, fmt.Sprintf("%s://", GitScheme))
return strings.HasPrefix(src, fmt.Sprintf("%s::", GitScheme))
}

// IsVCSDomain determines whether or not a source is to be treated as a VCS source.
Expand Down

0 comments on commit 49f6ecd

Please sign in to comment.