We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12395cb commit 74e4535Copy full SHA for 74e4535
1 file changed
tool/setupReleaseTools.ps1
@@ -6,9 +6,9 @@ param(
6
[string]$Token
7
)
8
9
-Write-Host "Install and import PowerShell modules"
10
-Set-PSResourceRepository -Name PSGallery -Trusted | Out-Null
11
-Install-Module -Name PowerShellForGitHub -Scope CurrentUser -Force
+Write-Host 'Install and import PowerShell modules'
+$null = Set-PSResourceRepository -Name PSGallery -Trusted
+Install-PSResource -Repository 'PSGallery' -Name 'PowerShellForGitHub' -Scope 'CurrentUser' -Force
12
Import-Module $PSScriptRoot/releaseTools.psm1
13
14
Write-Host "Setup authentication"
0 commit comments