We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2102fb1 commit dffaf73Copy full SHA for dffaf73
UnitySetup/UnitySetup.psm1
@@ -1055,7 +1055,7 @@ function Write-UnityErrors {
1055
Write-Verbose "Checking $LogFileName for errors"
1056
$errors = Get-Content $LogFileName | Where-Object { Get-IsUnityError $_ }
1057
if ( $errors.Count -gt 0 ) {
1058
- $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.
1059
$errorMessage = $errors -join "`r`n"
1060
$errorMessage = "Errors were found in $LogFileName`:`r`n$errorMessage"
1061
Write-Error $errorMessage
0 commit comments