Closed Plork closed 7 years ago
You can specify repository as parameter but it's still hardcoded in the "find-module" part.
$GalleryVersion = Find-Module -Name $Name -Repository PSGallery | Measure-Object -Property Version -Maximum | Select-Object -ExpandProperty Maximum
Fixed in #22 - thanks @Plork!
You can specify repository as parameter but it's still hardcoded in the "find-module" part.
$GalleryVersion = Find-Module -Name $Name -Repository PSGallery | Measure-Object -Property Version -Maximum | Select-Object -ExpandProperty Maximum