Merge branch 'develop' into dev-hub-default-install-path

This commit is contained in:
Stephen Hodgson 2019-01-11 22:04:36 -08:00
Родитель 07e595e700 57b99600d2
Коммит 0842ca88d4
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1065,7 +1065,7 @@ function Write-UnityErrors {
Write-Verbose "Checking $LogFileName for errors"
$errors = Get-Content $LogFileName | Where-Object { Get-IsUnityError $_ }
if ( $errors.Count -gt 0 ) {
$errors = $errors | select -uniq # Unity prints out errors as they occur and also in a summary list. We only want to see each unique error once.
$errors = $errors | Select-Object -uniq # Unity prints out errors as they occur and also in a summary list. We only want to see each unique error once.
$errorMessage = $errors -join "`r`n"
$errorMessage = "Errors were found in $LogFileName`:`r`n$errorMessage"
Write-Error $errorMessage