8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d82d0 commit 911c7d9Copy full SHA for 911c7d9
build.psm1
@@ -653,8 +653,8 @@ function Start-PSPester {
653
if ($Unelevate)
654
{
655
$outputBufferFilePath = [System.IO.Path]::GetTempFileName()
656
- $Command += "Start-Transcript -Force -Path $outputBufferFilePath;"
657
}
+
658
$Command += "Invoke-Pester "
659
660
$Command += "-OutputFormat ${OutputFormat} -OutputFile ${OutputFile} "
@@ -668,7 +668,7 @@ function Start-PSPester {
668
$Command += "'" + $Path + "'"
669
670
671
- $Command += "; Stop-Transcript; '__UNELEVATED_TESTS_THE_END__' >> $outputBufferFilePath"
+ $Command += " *> $outputBufferFilePath; '__UNELEVATED_TESTS_THE_END__' >> $outputBufferFilePath"
672
673
674
Write-Verbose $Command
0 commit comments