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 authored and Mike Richmond committed 2016-08-22 10:56:03 -07:00
1 parent aac88584fd
commit d3538851c6
1 file changed
+1 -1
+1 -1
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