Skip to content

Commit cd40d04

Browse files
author
Robin Stolpe
authored
Merge pull request #20 from rstolpe/dev
Dev
2 parents 336f322 + f05fc04 commit cd40d04

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

.src/Public/Function/Uninstall-RSModule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
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) {

.src/Public/Function/Update-RSModule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
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..."

MaintainModule/MaintainModule.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
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 = @()

MaintainModule/MaintainModule.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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..."

RSModuleBuilder.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
param (
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",

0 commit comments

Comments
 (0)