Skip to content

Commit

Permalink
Fix plugin version comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew committed Jul 10, 2024
1 parent 48cb2b8 commit 1491cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-packages/ovsx-client/src/ovsx-api-filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class OVSXApiFilterImpl implements OVSXApiFilter {
if (!versionA || !versionB) {
return false;
}
return semver.lte(versionA, versionB);
return semver.gte(versionA, versionB);
}

protected supportedVscodeApiSatisfies(vscodeApiRange: string): boolean {
Expand Down

0 comments on commit 1491cd1

Please sign in to comment.