From d5445ff691c8b4cb996c4634fb98f3fba4336ad1 Mon Sep 17 00:00:00 2001 From: "James Truher [MSFT]" Date: Tue, 17 Oct 2017 13:32:21 -0700 Subject: [PATCH] Make sure that there's a statement separator after we update the path, otherwise the built script will not run (#5137) --- test/tools/OpenCover/OpenCover.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tools/OpenCover/OpenCover.psm1 b/test/tools/OpenCover/OpenCover.psm1 index 9c765677a8..1d90f6d655 100644 --- a/test/tools/OpenCover/OpenCover.psm1 +++ b/test/tools/OpenCover/OpenCover.psm1 @@ -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 )