Skip to content

Commit

Permalink
Merge pull request pester#131 from nfisher/master
Browse files Browse the repository at this point in the history
[fixes pester#130] Changed ExecutionPolicy to Bypass to avoid failure.
  • Loading branch information
scottmuc committed May 5, 2014
2 parents 748b86e + 22bd51d commit 83291dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/pester.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if '%1'=='?' goto usage
if '%1'=='/help' goto usage
if '%1'=='help' goto usage

@PowerShell -NonInteractive -NoProfile -ExecutionPolicy unrestricted -Command ^
@PowerShell -NonInteractive -NoProfile -ExecutionPolicy Bypass -Command ^
"& Import-Module '%DIR%..\Pester.psm1'; & { Invoke-Pester -OutputXml Test.xml -EnableExit %ARGS%}"

goto finish
Expand All @@ -27,7 +27,7 @@ echo.
goto finish

:help
@PowerShell -NonInteractive -NoProfile -ExecutionPolicy unrestricted -Command ^
@PowerShell -NonInteractive -NoProfile -ExecutionPolicy Bypass -Command ^
"& Import-Module '%DIR%..\Pester.psm1'; & { Get-Help %2}"

:finish
Expand Down

0 comments on commit 83291dd

Please sign in to comment.