From 49f6ecddd5d5f1031ca1f67d99217d619057998b Mon Sep 17 00:00:00 2001 From: peefy Date: Tue, 7 May 2024 20:52:00 +0800 Subject: [PATCH] chore: bump git scheme to git:: Signed-off-by: peefy --- pkg/source/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/source/git.go b/pkg/source/git.go index f4e7681..e439454 100644 --- a/pkg/source/git.go +++ b/pkg/source/git.go @@ -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.