feat(info): add information about npm modules cache (#15750)

This commit is contained in:
Bartek Iwańczuk 2022-09-03 15:31:01 +02:00 committed by GitHub
parent 26f5d608ee
commit 223403e899
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 19 additions and 0 deletions

View file

@ -184,6 +184,10 @@ impl GlobalNpmPackageResolver {
registry_url: self.registry_url.clone(),
}
}
pub fn get_cache_location(&self) -> PathBuf {
self.cache.as_readonly().get_cache_location()
}
}
impl NpmPackageResolver for GlobalNpmPackageResolver {