Fixed typo (#4600)

This commit is contained in:
Aditya Patwardhan 2017-08-16 16:07:18 -07:00 committed by Travis Plunk
parent ea77b57966
commit c699e73ebe

View file

@ -681,7 +681,7 @@ function New-PSOptions {
# the valid root is the root of the filesystem and the folder PowerShell
$RootInfo['ValidPath'] = Join-Path -Path ([system.io.path]::GetPathRoot($RootInfo.RepoPath)) -ChildPath 'PowerShell'
if($RepoInfo.RepoPath -ne $RootInfo.ValidPath)
if($RootInfo.RepoPath -ne $RootInfo.ValidPath)
{
$RootInfo['Warning'] = "Please ensure you repo is at the root of the file system and named 'PowerShell' (example: '$($RootInfo.ValidPath)'), when building and packaging for release!"
$RootInfo['IsValid'] = $false