feat: add cache dir to --debug

This commit is contained in:
Divyansh Singh 2023-02-26 23:48:35 +05:30
parent b208785fff
commit 7dd186ccf3
1 changed files with 1 additions and 0 deletions

View File

@ -262,6 +262,7 @@ class CacheConfig:
def __init__(self, repository, path=None, lock_wait=None):
self.repository = repository
self.path = cache_dir(repository, path)
logger.debug("Using %s as cache", self.path)
self.config_path = os.path.join(self.path, "config")
self.lock = None
self.lock_wait = lock_wait