File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 else {
5151 Write-Verbose " User has added modules to the Module parameter, splitting them"
5252 $OldModule = $Module.Split (" ," ).Trim()
53- $Module = [System.Collections.Generic.List [ string ]]::new ()
53+ [System.Collections.ArrayList ] $Module = @ ()
5454
5555 Write-Verbose " Looking so the modules exists in the system..."
5656 foreach ($m in $OldModule ) {
Original file line number Diff line number Diff line change 8787 else {
8888 Write-Verbose " User has added modules to the Module parameter, splitting them"
8989 $OldModule = $Module.Split (" ," ).Trim()
90- $Module = [System.Collections.Generic.List [ string ]]::new ()
90+ [System.Collections.ArrayList ] $Module = @ ()
9191
9292 if ($InstallMissing -eq $false ) {
9393 Write-Verbose " Looking so the modules exists in the system..."
Original file line number Diff line number Diff line change 2727 RootModule = ' .\MaintainModule.psm1'
2828
2929 # Version number of this module.
30- ModuleVersion = ' 0.1.0 '
30+ ModuleVersion = ' 0.1.1 '
3131
3232 # Supported PSEditions
3333 # CompatiblePSEditions = @()
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..."
Original file line number Diff line number Diff line change 11param (
22 # Set this to true before releasing the module
33 [Parameter (Mandatory = $false , HelpMessage = " Enter the version number of this release" )]
4- [string ]$Version = " 0.1.0 " ,
4+ [string ]$Version = " 0.1.1 " ,
55 # Fix this
66 [Parameter (Mandatory = $false , HelpMessage = " ." )]
77 [string ]$preRelease = " Alpha" ,
You can’t perform that action at this time.
0 commit comments