update existing calls to roc_cache_dir()

using `roc_cache_packages_dir()` instead, which will return "~/.cache/roc/packages", which was the existing functionality, but `roc_cache_dir()` will now return "~/.cache/roc"
This commit is contained in:
Omar Jatoi 2024-10-03 12:52:52 -04:00
parent 7c86cf026d
commit 3f318e2235
No known key found for this signature in database
8 changed files with 14 additions and 14 deletions

View file

@ -483,7 +483,7 @@ pub fn load_module_for_docs(filename: PathBuf) -> LoadedModule {
&arena,
filename,
None,
RocCacheDir::Persistent(cache::roc_cache_dir().as_path()),
RocCacheDir::Persistent(cache::roc_cache_packages_dir().as_path()),
load_config,
) {
Ok(loaded) => loaded,