Skip to content

Commit

Permalink
fix: fix bug
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <zongzhe1024@163.com>
  • Loading branch information
zong-zhe committed Mar 13, 2024
1 parent cce743f commit f064daf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ func (c *KpmClient) CompileGitPkg(gitOpts *git.CloneOptions, compileOpts *opt.Co
defer os.RemoveAll(tmpDir)

// 2. clone the git repo
tmpDir = filepath.Join(tmpDir, gitOpts.LocalPath)
_, err = git.CloneWithOpts(
git.WithCommit(gitOpts.Commit),
git.WithBranch(gitOpts.Branch),
Expand Down

0 comments on commit f064daf

Please sign in to comment.