fix issues

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2023-04-26 21:21:49 +08:00
parent 286278e15a
commit 147f04c239
1 changed files with 2 additions and 2 deletions

View File

@ -62,8 +62,8 @@ func (st *HelmState) goGetterChart(chart, dir, cacheDir string, force bool) (str
chart = dir chart = dir
} }
if _, err := os.Stat(chart); err == nil { if _, err := st.fs.Stat(chart); err == nil {
abs, err := filepath.Abs(chart) abs, err := st.fs.Abs(chart)
if err != nil { if err != nil {
return abs, err return abs, err
} }