Skip to content

Commit 30c06d8

Browse files
authored
Merge pull request #6601 from dibarbet/gte
Actually use runtimes equal to 7.0
2 parents 2f591c2 + 4836f50 commit 30c06d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lsptoolshost/dotnetRuntimeExtensionResolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class DotnetRuntimeExtensionResolver implements IHostExecutableResolver {
153153
let matchingRuntime: RuntimeInfo | undefined = undefined;
154154
for (const runtime of coreRuntimeVersions) {
155155
// We consider a match if the runtime is greater than or equal to the required version since we roll forward.
156-
if (semver.gt(runtime.Version, requiredRuntimeVersion)) {
156+
if (semver.gte(runtime.Version, requiredRuntimeVersion)) {
157157
matchingRuntime = runtime;
158158
break;
159159
}

0 commit comments

Comments
 (0)