File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1788,7 +1788,7 @@ function Start-UnityEditor {
17881788 }
17891789 }
17901790
1791- $sharedArgs = @ ()
1791+ [ string []] $sharedArgs = @ ()
17921792 if ( $ReturnLicense ) {
17931793 if ( -not $PSBoundParameters.ContainsKey (' BatchMode' ) ) { $BatchMode = $true }
17941794 if ( -not $PSBoundParameters.ContainsKey (' Quit' ) ) { $Quit = $true }
@@ -1823,7 +1823,7 @@ function Start-UnityEditor {
18231823 if ( $ForceFree ) { $sharedArgs += ' -force-free' }
18241824 if ( $AdditionalArguments ) { $sharedArgs += $AdditionalArguments }
18251825
1826- $instanceArgs = @ ()
1826+ [ string [][]] $instanceArgs = @ ()
18271827 foreach ( $p in $projectInstances ) {
18281828
18291829 if ( $Latest ) {
@@ -1864,7 +1864,7 @@ function Start-UnityEditor {
18641864 }
18651865
18661866 # clone the shared args list
1867- $unityArgs = $sharedArgs | ForEach-Object { $_ }
1867+ [ string []] $unityArgs = $sharedArgs | ForEach-Object { $_ }
18681868 if ( $instanceArgs [$i ] ) { $unityArgs += $instanceArgs [$i ] }
18691869
18701870 $actionString = " $editor $unityArgs "
You can’t perform that action at this time.
0 commit comments