Skip to content

Commit 03de67e

Browse files
committed
fix: improve comment in versions.ts util
1 parent 734423c commit 03de67e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/utils/versions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export function filterVersions(versions: string[], range: string): Set<string> {
221221
* a version object with href and title. It's needed to get a single version
222222
* for valid URL if there is a range version, union version or combination of both
223223
* e.g. (href), "^1.0.0" -> "^1.0.0",
224-
* ">=1.0.0 <= 2.0.0" -> "2.0.0"
224+
* ">=1.0.0 <= 2.0.0" -> "<=2.0.0"
225225
* "1.0.0 || 2.0.0" -> "2.0.0"
226226
*
227227
* @param version - A semver version, might be a range, union, etc

0 commit comments

Comments
 (0)