Skip to content

Commit

Permalink
"test fixes"
Browse files Browse the repository at this point in the history
  • Loading branch information
d4v1d03 authored May 30, 2024
1 parent 573937e commit c2e015b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func initTestDir(subDir string) string {
return testDir
}

// TestDownloadGit test download from oci registry.
// TestDownloadOci test download from oci registry.
func TestDownloadOci(t *testing.T) {
testPath := filepath.Join(getTestDir("download"), "helloworld_0.1.2")
err := os.MkdirAll(testPath, 0755)
Expand Down
2 changes: 1 addition & 1 deletion pkg/downloader/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (d *GitDownloader) Download(opts DownloadOptions) error {
git.WithBranch(gitSource.Branch),
git.WithTag(gitSource.Tag),
git.WithRepoURL(gitSource.Url),
git.WithLocalPath(filepath.Join(opts.LocalPath, constants.GitEntry)),
git.WithLocalPath(opts.LocalPath),
)

if err != nil {
Expand Down

0 comments on commit c2e015b

Please sign in to comment.