Skip to content

Commit

Permalink
Merge pull request #2584 from FoothillSolutions/fix-dotnet-path-on-wsl
Browse files Browse the repository at this point in the history
Fix dotnet path on wsl
  • Loading branch information
matthid authored Apr 6, 2021
2 parents 3962129 + c2890e4 commit 7d13df3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/Fake.DotNet.Cli/DotNet.fs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ module DotNet =
yield!
ProcessUtils.findFilesOnPath "dotnet"
|> Seq.filter File.Exists
|> Seq.filter (fun dotPath -> dotPath.EndsWith fileName)
let userInstalldir = defaultUserInstallDir </> fileName
if File.exists userInstalldir then yield userInstalldir
let systemInstalldir = defaultSystemInstallDir </> fileName
Expand Down

0 comments on commit 7d13df3

Please sign in to comment.