From 36a49150c2bbe018e61b2093d58f1405e50c027b Mon Sep 17 00:00:00 2001 From: Ben Broderick Phillips Date: Tue, 19 Nov 2024 16:06:42 -0500 Subject: [PATCH] snap --- eng/common/scripts/Helpers/PSModule-Helpers.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eng/common/scripts/Helpers/PSModule-Helpers.ps1 b/eng/common/scripts/Helpers/PSModule-Helpers.ps1 index 9ea3120a7..94fe04bbd 100644 --- a/eng/common/scripts/Helpers/PSModule-Helpers.ps1 +++ b/eng/common/scripts/Helpers/PSModule-Helpers.ps1 @@ -59,8 +59,8 @@ function Install-ModuleIfNotInstalled() ) # List of modules+versions we want to replace with internal feed sources for reliability, security, etc. - $mirrorFeedOverrides = @{ - 'powershell-yaml;0.4.7' = 'https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-tools/nuget/v2' + $packageFeedOverrides = @{ + 'powershell-yaml' = 'https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-tools/nuget/v2' } try { @@ -81,8 +81,8 @@ function Install-ModuleIfNotInstalled() $repositoryUrl = if ($repositoryUrl) { $repositoryUrl - } elseif ($mirrorFeedOverrides.Contains("${moduleName};${version}")) { - $mirrorFeedOverrides["${moduleName};${version}"] + } elseif ($mirrorFeedOverrides.Contains("${moduleName}")) { + $mirrorFeedOverrides["${moduleName}"] } else { $DefaultPSRepositoryUrl }