Skip to content

Commit

Permalink
Merge pull request #21 from rstolpe/beta
Browse files Browse the repository at this point in the history
Beta
  • Loading branch information
rstolpe committed Dec 10, 2022
2 parents 77c2403 + cd40d04 commit 05b8a7b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .src/Public/Function/Uninstall-RSModule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
else {
Write-Verbose "User has added modules to the Module parameter, splitting them"
$OldModule = $Module.Split(",").Trim()
$Module = [System.Collections.Generic.List[string]]::new()
[System.Collections.ArrayList]$Module = @()

Write-Verbose "Looking so the modules exists in the system..."
foreach ($m in $OldModule) {
Expand Down
2 changes: 1 addition & 1 deletion .src/Public/Function/Update-RSModule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
else {
Write-Verbose "User has added modules to the Module parameter, splitting them"
$OldModule = $Module.Split(",").Trim()
$Module = [System.Collections.Generic.List[string]]::new()
[System.Collections.ArrayList]$Module = @()

if ($InstallMissing -eq $false) {
Write-Verbose "Looking so the modules exists in the system..."
Expand Down
2 changes: 1 addition & 1 deletion MaintainModule/MaintainModule.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
RootModule = '.\MaintainModule.psm1'

# Version number of this module.
ModuleVersion = '0.1.0'
ModuleVersion = '0.1.1'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
4 changes: 2 additions & 2 deletions MaintainModule/MaintainModule.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Function Uninstall-RSModule {
else {
Write-Verbose "User has added modules to the Module parameter, splitting them"
$OldModule = $Module.Split(",").Trim()
$Module = [System.Collections.Generic.List[string]]::new()
[System.Collections.ArrayList]$Module = @()

Write-Verbose "Looking so the modules exists in the system..."
foreach ($m in $OldModule) {
Expand Down Expand Up @@ -197,7 +197,7 @@ Function Update-RSModule {
else {
Write-Verbose "User has added modules to the Module parameter, splitting them"
$OldModule = $Module.Split(",").Trim()
$Module = [System.Collections.Generic.List[string]]::new()
[System.Collections.ArrayList]$Module = @()

if ($InstallMissing -eq $false) {
Write-Verbose "Looking so the modules exists in the system..."
Expand Down
2 changes: 1 addition & 1 deletion RSModuleBuilder.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
param (
# Set this to true before releasing the module
[Parameter(Mandatory = $false, HelpMessage = "Enter the version number of this release")]
[string]$Version = "0.1.0",
[string]$Version = "0.1.1",
# Fix this
[Parameter(Mandatory = $false, HelpMessage = ".")]
[string]$preRelease = "Alpha",
Expand Down

0 comments on commit 05b8a7b

Please sign in to comment.