formatting

This commit is contained in:
rob boll 2017-11-05 19:06:09 -05:00
parent d604fe094a
commit cce726aee5
1 changed files with 1 additions and 1 deletions

View File

@ -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