Merge branch 'develop' into dev-hub-default-install-path
This commit is contained in:
Коммит
0842ca88d4
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче