Skip to content

Commit

Permalink
Merge pull request #181 from OctopusDeploy/bug-powershell-always-fail
Browse files Browse the repository at this point in the history
Removed Debug Code to Check Major Verison of Powershell
  • Loading branch information
corey-underdown authored Dec 9, 2019
2 parents 91c254c + b319f58 commit da7c89e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ static bool CheckPowerShellIsInstalled(out string commandLineOutput)

commandLineOutput = $"{commandLineOutput}{Environment.NewLine}{stdOut}{Environment.NewLine}{stdErr}";

return false;// outputText.Contains("Major");
return outputText.Contains("Major");
}
catch (Exception ex)
{
Expand Down

0 comments on commit da7c89e

Please sign in to comment.