Skip to content

Commit faffc33

Browse files
committed
Normalize AnyCPU mapping to 'any'
Change 'AnyCPU' output to 'any' in Get-Architecture.ps1 to standardize architecture identifiers. This makes the AnyCPU case emit a lowercase, simplified token to match other architecture values and downstream tooling expectations.
1 parent 8b2d7f2 commit faffc33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Evergreen/Private/Get-Architecture.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function Get-Architecture {
99
switch -Regex ($String.ToLower()) {
1010
"aarch64" { $architecture = "ARM64"; break }
1111
"amd64" { $architecture = "x64"; break }
12-
"anycpu" { $architecture = "AnyCPU"; break }
12+
"anycpu" { $architecture = "any"; break }
1313
"arm64" { $architecture = "ARM64"; break }
1414
"arm32" { $architecture = "ARM32"; break }
1515
"arm" { $architecture = "ARM"; break }

0 commit comments

Comments
 (0)