mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-21 22:41:42 +00:00
force using the git protocol to downlaod every kind of repo non just from github
This commit is contained in:
@@ -46,6 +46,10 @@ func TestIsRepoURL(t *testing.T) {
|
||||
input: "../relative",
|
||||
expected: false,
|
||||
},
|
||||
{
|
||||
input: "git::https://gitlab.com/org/repo",
|
||||
expected: true,
|
||||
},
|
||||
}
|
||||
for _, tc := range testcases {
|
||||
actual := isRepoUrl(tc.input)
|
||||
|
||||
Reference in New Issue
Block a user