diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-09-22 16:39:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 10:39:58 -0400 |
commit | 9a216806d514b5f41c73c777010572cdf3c51eab (patch) | |
tree | 3bc96c287936bc75b37add644944507c0f8ccf6b /cli/npm/cache.rs | |
parent | 06c77a30f9c00a562ff2a34b96fe828e0d29a33f (diff) |
feat(npm): add support for --reload=npm: and --reload=npm:<package> (#15972)
Diffstat (limited to 'cli/npm/cache.rs')
-rw-r--r-- | cli/npm/cache.rs | 1 |
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 { |