Skip to content

Commit

Permalink
SkipPublisherCheck on Pester install
Browse files Browse the repository at this point in the history
  • Loading branch information
Windos committed Aug 4, 2020
1 parent e922f17 commit 6512424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Azure-Pipelines/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if ($Bootstrap.IsPresent) {
# For testing Pester
if (-not (Get-Module -Name Pester -ListAvailable) -or (Get-Module -Name Pester -ListAvailable)[0].Version -eq [Version]'3.4.0') {
Write-Warning "Module 'Pester' is missing. Installing 'Pester' ..."
Install-Module -Name Pester -Scope CurrentUser -Force -RequiredVersion 4.10.1
Install-Module -Name Pester -Scope CurrentUser -Force -RequiredVersion 4.10.1 -SkipPublisherCheck
}

if ((Get-Module -Name Pester -ListAvailable)[0].Version -ne [Version]'4.10.1') {
Expand Down

0 comments on commit 6512424

Please sign in to comment.