From 3c7cd111527e6affef6503d616ccca4bb629b83a Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Wed, 15 Nov 2017 10:19:25 -0800 Subject: [PATCH] Get PowerShellGet from the PowerShell Gallery (#5452) --- build.psm1 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build.psm1 b/build.psm1 index 6677c95b44..50ab4254d2 100644 --- a/build.psm1 +++ b/build.psm1 @@ -597,14 +597,10 @@ function Restore-PSModuleToBuild $modulesDir = Join-Path -Path $publishPath -ChildPath "Modules" - # Restore modules from myget feed + # Restore modules from powershellgallery feed Restore-PSModule -Destination $modulesDir -Name @( # PowerShellGet depends on PackageManagement module, so PackageManagement module will be installed with the PowerShellGet module. 'PowerShellGet' - ) - - # Restore modules from powershellgallery feed - Restore-PSModule -Destination $modulesDir -Name @( 'Microsoft.PowerShell.Archive' ) -SourceLocation "https://www.powershellgallery.com/api/v2/" }