We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fd4c22 commit 710ab01Copy full SHA for 710ab01
1 file changed
tools/Get-ExternalSymbolFiles.ps1
@@ -93,7 +93,7 @@ Function Get-PackageVersions() {
93
}
94
95
Function Get-PackageVersion($id) {
96
- $version = Get-PackageVersions | Select-Object -ExpandProperty $id -ErrorAction SilentlyContinue
+ $version = (Get-PackageVersions)[$id]
97
if (!$version) {
98
Write-Error "No package version found in Directory.Packages.props for the package '$id'"
99
0 commit comments