Pester tests won't run from directory with space (#1951)

Added quotes around file/pathnames as needed to get pester tests to run from build directory with a space in it.
This commit is contained in:
Barry Nolte 2016-08-22 10:56:03 -07:00 committed by Mike Richmond
parent aac88584fd
commit d3538851c6

View File

@ -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