Skip to content

Commit

Permalink
Make clearer that invalid versions should not be picked
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny Anderson dos Santos committed Dec 18, 2018
1 parent 8c129ec commit cb9f8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OmniSharp.Host/MSBuild/Discovery/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private static int GetInstanceFeatureScore(MSBuildInstance i)
score++;

if (i.IsInvalidVisualStudio())
score--;
return int.MinValue;
else
score++;

Expand Down

0 comments on commit cb9f8d2

Please sign in to comment.