Skip to content

Commit

Permalink
Merge pull request #6601 from dibarbet/gte
Browse files Browse the repository at this point in the history
Actually use runtimes equal to 7.0
  • Loading branch information
dibarbet authored Oct 26, 2023
2 parents 2f591c2 + 4836f50 commit 30c06d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lsptoolshost/dotnetRuntimeExtensionResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class DotnetRuntimeExtensionResolver implements IHostExecutableResolver {
let matchingRuntime: RuntimeInfo | undefined = undefined;
for (const runtime of coreRuntimeVersions) {
// We consider a match if the runtime is greater than or equal to the required version since we roll forward.
if (semver.gt(runtime.Version, requiredRuntimeVersion)) {
if (semver.gte(runtime.Version, requiredRuntimeVersion)) {
matchingRuntime = runtime;
break;
}
Expand Down

0 comments on commit 30c06d8

Please sign in to comment.