Skip to content

Commit

Permalink
version check is okay
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-mitchell committed Feb 20, 2024
1 parent 094f0d8 commit 3a4c178
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export default async function packageJson(packageName, options) {
}
}

// TODO: is this still valid here, or does it need to be recalculated?
if (!versionExists) {
const versions = Object.keys(data.versions);
version = semver.maxSatisfying(versions, version);
Expand Down

0 comments on commit 3a4c178

Please sign in to comment.