Skip to content

Commit 0842ca8

Browse files
Merge branch 'develop' into dev-hub-default-install-path
2 parents 07e595e + 57b9960 commit 0842ca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ function Write-UnityErrors {
10651065
Write-Verbose "Checking $LogFileName for errors"
10661066
$errors = Get-Content $LogFileName | Where-Object { Get-IsUnityError $_ }
10671067
if ( $errors.Count -gt 0 ) {
1068-
$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.
1068+
$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.
10691069
$errorMessage = $errors -join "`r`n"
10701070
$errorMessage = "Errors were found in $LogFileName`:`r`n$errorMessage"
10711071
Write-Error $errorMessage

0 commit comments

Comments
 (0)