Skip to content

Commit

Permalink
fix: fetcher - dont use dot for full checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
exu committed Feb 1, 2022
1 parent fb20ba9 commit 8706ed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/executor/content/fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ func (f Fetcher) FetchGitDir(repo *testkube.Repository) (path string, err error)
return path, err
}

// if . make full repo checkout
if repo.Path == "." {
// if path not set make full repo checkout
if repo.Path == "" {
return git.Checkout(uri, repo.Branch)
}

Expand Down

0 comments on commit 8706ed7

Please sign in to comment.