Skip to content

Commit

Permalink
fix(wellknown): enhance Install-Module command with additional parame…
Browse files Browse the repository at this point in the history
…ters
  • Loading branch information
DariuszPorowski committed Mar 4, 2025
1 parent a16d3a2 commit 0fd9f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/scripts/Set-WellKnown.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function Install-ModuleIfNotInstalled {
if (-not (Get-Module -Name $ModuleName -ListAvailable)) {
try {
Write-Log -Message "Installing module: $ModuleName" -Level 'DEBUG'
Install-Module -Name $ModuleName -AllowClobber -Force -Scope CurrentUser -Repository PSGallery
Install-Module -Name $ModuleName -AllowClobber -Force -Scope CurrentUser -Repository PSGallery -Confirm:$false -SkipPublisherCheck -AcceptLicense
}
catch {
Write-Error $_.Exception.Message
Expand Down

0 comments on commit 0fd9f12

Please sign in to comment.