Make sure that there's a statement separator after we update the path, otherwise the built script will not run (#5137)
This commit is contained in:
parent
f604b0e3f0
commit
d5445ff691
|
@ -667,7 +667,7 @@ function Invoke-OpenCover
|
|||
$testToolsExePath = (Resolve-Path(Join-Path $TestPath -ChildPath "..\tools\TestExe\bin")).Path
|
||||
$updatedProcessEnvPath = "${testToolsExePath};${env:PATH}"
|
||||
|
||||
$startupArgs = "Set-ExecutionPolicy Bypass -Force -Scope Process; `$env:PSModulePath = '${updatedEnvPath}'; `$env:Path = '${updatedProcessEnvPath}'"
|
||||
$startupArgs = "Set-ExecutionPolicy Bypass -Force -Scope Process; `$env:PSModulePath = '${updatedEnvPath}'; `$env:Path = '${updatedProcessEnvPath}';"
|
||||
$targetArgs = "${startupArgs}", "Invoke-Pester","${TestPath}","-OutputFormat $PesterLogFormat"
|
||||
|
||||
if ( $CIOnly )
|
||||
|
|
Loading…
Reference in a new issue