Skip to content

Commit

Permalink
fix: fix test case
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <[email protected]>
  • Loading branch information
zong-zhe committed May 24, 2024
1 parent 7a7077f commit a611015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ func (c *KpmClient) Download(dep *pkg.Dependency, homePath, localPath string) (*
// The invalid path such as '$HOME/.kcl/kpm/k8s_' is placed because the version field is missing.
dep.Version = latestTag
dep.FullName = dep.GenDepFullName()
dep.LocalFullPath = c.getDepStorePath(homePath, dep, false)
dep.LocalFullPath = filepath.Join(filepath.Dir(localPath), dep.FullName)
localPath = dep.LocalFullPath

if utils.DirExists(dep.LocalFullPath) {
Expand Down

0 comments on commit a611015

Please sign in to comment.