File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ Function Uninstall-RSModule {
6666 else {
6767 Write-Verbose " User has added modules to the Module parameter, splitting them"
6868 $OldModule = $Module.Split (" ," ).Trim()
69- $Module = [System.Collections.Generic.List [ string ]]::new ()
69+ [System.Collections.ArrayList ] $Module = @ ()
7070
7171 Write-Verbose " Looking so the modules exists in the system..."
7272 foreach ($m in $OldModule ) {
@@ -197,7 +197,7 @@ Function Update-RSModule {
197197 else {
198198 Write-Verbose " User has added modules to the Module parameter, splitting them"
199199 $OldModule = $Module.Split (" ," ).Trim()
200- $Module = [System.Collections.Generic.List [ string ]]::new ()
200+ [System.Collections.ArrayList ] $Module = @ ()
201201
202202 if ($InstallMissing -eq $false ) {
203203 Write-Verbose " Looking so the modules exists in the system..."
You can’t perform that action at this time.
0 commit comments