Skip to content

Commit

Permalink
Merge pull request #1229 from rexcfnghk/bugfix/fix-opencoverhelper-in…
Browse files Browse the repository at this point in the history
…-mono

OpenCoverHelper: Do not assume AppData and ProgramFiles exists by default
  • Loading branch information
forki committed May 11, 2016
2 parents 6f69799 + 6d324a9 commit db16849
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/FakeLib/OpenCoverHelper.fs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ type OpenCoverParams =

/// OpenCover default parameters
let OpenCoverDefaults =
{ ExePath = environVar "LOCALAPPDATA" @@ "Apps" @@ "OpenCover" @@ "OpenCover.Console.exe"
TestRunnerExePath = ProgramFiles @@ "NUnit" @@ "bin" @@ "nunit-console.exe"
{ ExePath = if isMono then String.Empty else environVar "LOCALAPPDATA" @@ "Apps" @@ "OpenCover" @@ "OpenCover.Console.exe"
TestRunnerExePath = if isMono then String.Empty else ProgramFiles @@ "NUnit" @@ "bin" @@ "nunit-console.exe"
Output = String.Empty
Register = Manual
Filter = String.Empty
Expand Down

0 comments on commit db16849

Please sign in to comment.