Skip to content

Commit 188d57d

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
also update save-psresource to use correct repository
1 parent 3b9ad33 commit 188d57d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ if ($Test) {
421421
if (-not(Get-Module -ListAvailable -Name Pester))
422422
{ "Installing module Pester"
423423
$InstallTargetDir = ($env:PSModulePath -split ";")[0]
424-
Find-PSResource -Name 'Pester' -Repository 'PSGallery' | Save-PSResource -Path $InstallTargetDir -TrustRepository
424+
Find-PSResource -Name 'Pester' -Repository $repository | Save-PSResource -Path $InstallTargetDir -TrustRepository
425425
}
426426

427427
"Updated Pester module location:"

0 commit comments

Comments
 (0)