Refactor parseGitURL to consolidate code paths, improve error handling

This commit is contained in:
Katrina Verey
2023-01-03 18:40:38 -05:00
parent db7b057956
commit 00208394d6
3 changed files with 251 additions and 201 deletions

View File

@@ -188,14 +188,6 @@ resources:
kustomization: `
resources:
- file://$ROOT/simple.git?timeout=500
`,
expected: simpleBuild,
},
{
name: "triple slash absolute path",
kustomization: `
resources:
- file:///$ROOT/simple.git
`,
expected: simpleBuild,
},