Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
roboll committed Nov 6, 2017
1 parent d604fe0 commit cce726a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cce726a

Please sign in to comment.