Skip to content

Commit

Permalink
Take the first dotnet cli we find instead of the last one we find (ma…
Browse files Browse the repository at this point in the history
…tch the comment) (#2427)

Co-authored-by: Fred Silberberg <fred@silberberg.xyz>
  • Loading branch information
jkoritzinsky and 333fred authored Aug 12, 2022
1 parent 80d7f26 commit 46d4c98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OmniSharp.Host/Services/DotNetCliService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public DotNetCliService(ILoggerFactory loggerFactory, IEventEmitter eventEmitter
{
// We'll take the first path that has a dotnet executable.
DotNetPath = Path.Combine(path, "dotnet");
break;
}
else
{
Expand Down

0 comments on commit 46d4c98

Please sign in to comment.