Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/UpdateDotnetRuntime.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function Update-PackageVersion {
# We have to find packages for all sources separately as Find-Package does not return all packages when both sources are provided at the same time.
# Since there will be a lot of duplicates we add the package to a dictionary so we only get a unique set by version.
$source | ForEach-Object {
Find-Package -Name $pkgName -AllVersions -AllowPrereleaseVersions -Source $_ | ForEach-Object {
Find-Package -Name $pkgName -AllVersions -AllowPrereleaseVersions -Source $_ -ErrorAction SilentlyContinue | ForEach-Object {
if (-not $pkgs.ContainsKey($_.Version)) {
$pkgs.Add($_.Version, $_)
}
Expand Down