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 {
1788
1788
}
1789
1789
}
1790
1790
1791
- $sharedArgs = @ ()
1791
+ [ string []] $sharedArgs = @ ()
1792
1792
if ( $ReturnLicense ) {
1793
1793
if ( -not $PSBoundParameters.ContainsKey (' BatchMode' ) ) { $BatchMode = $true }
1794
1794
if ( -not $PSBoundParameters.ContainsKey (' Quit' ) ) { $Quit = $true }
@@ -1823,7 +1823,7 @@ function Start-UnityEditor {
1823
1823
if ( $ForceFree ) { $sharedArgs += ' -force-free' }
1824
1824
if ( $AdditionalArguments ) { $sharedArgs += $AdditionalArguments }
1825
1825
1826
- $instanceArgs = @ ()
1826
+ [ string [][]] $instanceArgs = @ ()
1827
1827
foreach ( $p in $projectInstances ) {
1828
1828
1829
1829
if ( $Latest ) {
@@ -1864,7 +1864,7 @@ function Start-UnityEditor {
1864
1864
}
1865
1865
1866
1866
# clone the shared args list
1867
- $unityArgs = $sharedArgs | ForEach-Object { $_ }
1867
+ [ string []] $unityArgs = $sharedArgs | ForEach-Object { $_ }
1868
1868
if ( $instanceArgs [$i ] ) { $unityArgs += $instanceArgs [$i ] }
1869
1869
1870
1870
$actionString = " $editor $unityArgs "
You can’t perform that action at this time.
0 commit comments