fix helmfile diff error in window platform
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
		
							parent
							
								
									82f0d88d56
								
							
						
					
					
						commit
						62cbeb661d
					
				|  | @ -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) | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue