Minor fix to template

This commit is contained in:
2025-02-28 23:38:24 -06:00
parent f5bfd672ff
commit 99a82e5e95

View File

@@ -102,7 +102,7 @@ If ($ModuleNames) {
} }
If ((Get-PackageProvider).Name -notcontains "NuGet") { If ((Get-PackageProvider).Name -notcontains "NuGet") {
Add-LogEntry "Installing NuGet package provider" Add-LogEntry "Installing NuGet package provider"
Try { Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force -ErrorAction Stop } Try { Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force -ErrorAction Stop | Out-Null }
Catch { Catch {
Add-LogEntry "Installation failed, script is exiting" -As Error Add-LogEntry "Installation failed, script is exiting" -As Error
Exit Exit