Skip to content

Commit 38c1a5b

Browse files
🩹 [Patch]: Show all installed modules in summary (#34)
## Description This pull request includes a small change to the `scripts/main.ps1` file. The change simplifies the command by removing the unnecessary enumeration of `$requiredModules.Keys` before calling `Get-InstalledPSResource`. * [`scripts/main.ps1`](diffhunk://#diff-dc2e5a659836b1b73abb03421c567f5018c2755677c4a0aa764cb26117b68011L46-R46): Simplified the command by removing `$requiredModules.Keys` before calling `Get-InstalledPSResource`. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent aee74ed commit 38c1a5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/main.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ $requiredModules.GetEnumerator() | Sort-Object | ForEach-Object {
4343
}
4444
}
4545

46-
$requiredModules.Keys | Get-InstalledPSResource -Verbose:$false | Sort-Object -Property Name |
46+
Get-InstalledPSResource -Verbose:$false | Sort-Object -Property Name |
4747
Format-Table -Property Name, Version, Prerelease, Repository -AutoSize | Out-String

0 commit comments

Comments
 (0)