diff --git a/build.psm1 b/build.psm1 index 263ac1232a..b8b6eb4dc5 100644 --- a/build.psm1 +++ b/build.psm1 @@ -563,7 +563,7 @@ function Restore-PSPester [ValidateNotNullOrEmpty()] [string] $Destination = ([IO.Path]::Combine((Split-Path (Get-PSOptions -DefaultToNew).Output), "Modules")) ) - Save-Module -Name Pester -Path $Destination -Repository PSGallery -RequiredVersion "4.4.2" + Save-Module -Name Pester -Path $Destination -Repository PSGallery -RequiredVersion "4.4.1" } function Compress-TestContent {