Skip to content

Commit 2f29784

Browse files
eifingerampagent
andauthored
1 parent 9c73321 commit 2f29784

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎src/version/resolve.ts‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,11 @@ async function findHighestSatisfyingVersion(
195195
return pep440Match;
196196
}
197197

198-
// `~=` is the PEP 440 compatible release operator. semver accepts it as a
199-
// tilde range with a narrower upper bound (`~=0.5` as `<0.6.0` instead of
200-
// `<1.0`), so it must only be evaluated as PEP 440.
198+
/**
199+
* `~=` is the PEP 440 compatible release operator. semver accepts it as a
200+
* tilde range with a narrower upper bound (`~=0.5` as `<0.6.0` instead of
201+
* `<1.0`), so it must only be evaluated as PEP 440.
202+
*/
201203
function isCompatibleReleaseSpecifier(versionSpecifier: string): boolean {
202204
return versionSpecifier.includes("~=");
203205
}

0 commit comments

Comments
 (0)