mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-18 02:45:51 +02:00
Merge pull request #451 from helmfile/445-01470-fails-to-execute-diff
fix helmfile diff error in window platform
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user