From ae99f4a136c5eb7683e182ca013fd39c87a1b578 Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Sat, 7 Oct 2023 14:47:21 -0700 Subject: [PATCH] Fix dlcache basepath --- internal/dlcache/dlcache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/dlcache/dlcache.go b/internal/dlcache/dlcache.go index 3ddc7d2..6c567a2 100644 --- a/internal/dlcache/dlcache.go +++ b/internal/dlcache/dlcache.go @@ -31,7 +31,7 @@ import ( // BasePath returns the base path of the download cache func BasePath(ctx context.Context) string { - return filepath.Join(config.GetPaths(ctx).RepoDir, "dl") + return filepath.Join(config.GetPaths(ctx).CacheDir, "dl") } // New creates a new directory with the given ID in the cache.