Skip to content

Commit

Permalink
Merge pull request #44 from rstolpe/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
rstolpe authored Jul 30, 2024
2 parents cb11e3e + 160846c commit cf05522
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MaintainModule/MaintainModule.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
RootModule = '.\MaintainModule.psm1'

# Version number of this module.
ModuleVersion = '2.0.2'
ModuleVersion = '2.0.3'

# 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 @@ -104,7 +104,7 @@ Function Get-rsInstalledModule {
[version]$LatestVersion = $($GetAllInstalledVersions | Select-Object Version -First 1).version

# Get get all old versions
[version]$OldVersions = $GetAllInstalledVersions | Where-Object { $_.Version -ne $LatestVersion } | Select-Object Version
[version]$OldVersions = $GetAllInstalledVersions | Where-Object { $_.Version -ne $LatestVersion } | Select-Object -ExpandProperty Version

[PSCustomObject]@{
Name = $_module.Name
Expand All @@ -125,7 +125,7 @@ Function Get-rsInstalledModule {
[version]$LatestVersion = $($GetAllInstalledVersions | Select-Object Version -First 1).version

# Get get all old versions
[version]$OldVersions = $GetAllInstalledVersions | Where-Object { $_.Version -ne $LatestVersion } | Select-Object Version
[version]$OldVersions = $GetAllInstalledVersions | Where-Object { $_.Version -ne $LatestVersion } | Select-Object -ExpandProperty Version

[PSCustomObject]@{
Name = $_module
Expand Down

0 comments on commit cf05522

Please sign in to comment.