diff --git a/build.psm1 b/build.psm1 index 24e42b6ab..feabb4b75 100644 --- a/build.psm1 +++ b/build.psm1 @@ -554,7 +554,7 @@ function Start-PSPester { [switch]$DisableExit, [string[]]$ExcludeTag = "Slow", [string[]]$Tag = "CI", - [string]$Path = "$PSScriptRoot/test/powershell" + [string]$Path = "'$PSScriptRoot/test/powershell'" ) $powershell = Get-PSOutput