diff --git a/pkg/state/util.go b/pkg/state/util.go index b1b692ae..095f75a3 100644 --- a/pkg/state/util.go +++ b/pkg/state/util.go @@ -26,7 +26,7 @@ func isLocalChart(chart string) bool { return chart == "" || filepath.IsAbs(chart) || - !strings.Contains(chart, fmt.Sprintf("%c", os.PathSeparator)) || + !strings.Contains(chart, "/") || (len(strings.Split(chart, "/")) != 2 && len(strings.Split(chart, "/")) != 3) }