From cce726aee59a87f54bc7171f869799b56137798a Mon Sep 17 00:00:00 2001 From: rob boll Date: Sun, 5 Nov 2017 19:06:09 -0500 Subject: [PATCH] formatting --- state/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state/state.go b/state/state.go index bcf586f19..34586eeec 100644 --- a/state/state.go +++ b/state/state.go @@ -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 / reference. -func normalizeChart(basePath, chart string) (string) { +func normalizeChart(basePath, chart string) string { regex, _ := regexp.Compile("^[.]?./") if !regex.MatchString(chart) { return chart