summaryrefslogtreecommitdiff
path: root/cli/npm/cache.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/npm/cache.rs')
-rw-r--r--cli/npm/cache.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/npm/cache.rs b/cli/npm/cache.rs
index 71a82fd51..a733ecceb 100644
--- a/cli/npm/cache.rs
+++ b/cli/npm/cache.rs
@@ -204,6 +204,7 @@ impl NpmCache {
// if this file exists, then the package didn't successfully extract
// the first time, or another process is currently extracting the zip file
&& !package_folder.join(NPM_PACKAGE_SYNC_LOCK_FILENAME).exists()
+ && self.cache_setting.should_use_for_npm_package(&id.name)
{
return Ok(());
} else if self.cache_setting == CacheSetting::Only {