diff --git a/pkg/executor/content/fetcher.go b/pkg/executor/content/fetcher.go index 13d239af914..20e8f7c27a7 100644 --- a/pkg/executor/content/fetcher.go +++ b/pkg/executor/content/fetcher.go @@ -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) }