Bug fixes and cleanup in preparation for push.

This commit is contained in:
Mike Richmond committed 2016-08-04 13:15:34 -07:00
1 parent e6e785ec92
commit f8b9b88986
3 files changed
+128 -248

No files matched your search

+1 -1
View File
@@ -537,7 +537,7 @@ function Start-PSPester {
Write-Verbose "Import-Module '$moduleDir'; Invoke-Pester $tagString $Path"
$powershellexe = get-psoutput
& $powershell -noprofile -c "Import-Module '$moduleDir'; Invoke-Pester $tagString $Path"
& $powershell -noprofile -c "Set-ExecutionPolicy Unrestricted; Import-Module '$moduleDir'; Invoke-Pester $tagString $Path"
if ($LASTEXITCODE -ne 0) {
throw "$LASTEXITCODE Pester tests failed"
}