mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-03 00:05:09 +02:00
Only accept ./ and ../
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ func (helm *execer) UpdateRepo() error {
|
||||
}
|
||||
|
||||
func normalizeChart(chart string) (string, error) {
|
||||
regex, err := regexp.Compile("^[.]?[.]?/")
|
||||
regex, err := regexp.Compile("^[.]?./")
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user