diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2024-03-28 19:02:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 19:02:07 +0000 |
commit | d347e73f5aacf47f4ac75faccd06019ad29c6c78 (patch) | |
tree | 43523fb46d40ed1b22610dcd98b32f6ea6ce0840 /cli/npm/mod.rs | |
parent | bca0fe1cde3d30ce31c158862cc6764babf71a14 (diff) |
fix(jsr): exclude yanked versions from 'deno add' and completions (#23113)
Diffstat (limited to 'cli/npm/mod.rs')
-rw-r--r-- | cli/npm/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/npm/mod.rs b/cli/npm/mod.rs index 08c15941a..c17918c67 100644 --- a/cli/npm/mod.rs +++ b/cli/npm/mod.rs @@ -119,7 +119,7 @@ impl NpmFetchResolver { let maybe_get_nv = || async { let name = req.name.clone(); let package_info = self.package_info(&name).await?; - // Find the first matching version of the package which is cached. + // Find the first matching version of the package. let mut versions = package_info.versions.keys().collect::<Vec<_>>(); versions.sort(); let version = versions |