mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 18:18:59 +02:00
formatting
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ func (state *HelmState) DeleteCharts(helm helmexec.Interface) []error {
|
||||
// - Any single (or double character) followed by a `/` will be considered a local file reference and
|
||||
// be constructed relative to the `base path`.
|
||||
// - Everything else is assumed to be an absolute path or an actual <repository>/<chart> reference.
|
||||
func normalizeChart(basePath, chart string) (string) {
|
||||
func normalizeChart(basePath, chart string) string {
|
||||
regex, _ := regexp.Compile("^[.]?./")
|
||||
if !regex.MatchString(chart) {
|
||||
return chart
|
||||
|
||||
Reference in New Issue
Block a user