summaryrefslogtreecommitdiff
path: root/cli/npm/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/npm/mod.rs')
-rw-r--r--cli/npm/mod.rs2
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