Skip to content

Commit

Permalink
fix: Wrong operator usage
Browse files Browse the repository at this point in the history
  • Loading branch information
brian6932 committed Oct 4, 2023
1 parent e123aa0 commit 9322ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/manifest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function Get-SupportedArchitecture($manifest, $architecture) {
}
} elseif ($architecture[-3] -eq '-') {
$success = $false
for ($i = $architecture[-1] - [byte][char]'0'; $i > 1; --$i) {
for ($i = $architecture[-1] - [byte][char]'0'; $i -gt 1; --$i) {
$testArch = "64bit-v$i"
if ($manifest.architecture.$testArch) {
$success = $true
Expand Down

0 comments on commit 9322ef9

Please sign in to comment.