diff --git a/build.psm1 b/build.psm1 index 9a14f5f8c2..2169e4c8a7 100644 --- a/build.psm1 +++ b/build.psm1 @@ -594,7 +594,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.4" + Save-Module -Name Pester -Path $Destination -Repository PSGallery -RequiredVersion "4.8.0" } function Compress-TestContent {