Merge pull request #451 from helmfile/445-01470-fails-to-execute-diff

fix helmfile diff error in window platform
This commit is contained in:
yxxhero
2022-10-19 18:18:02 +08:00
committed by GitHub
+1 -1
View File
@@ -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)
}