Skip to content

Commit 38b0c8d

Browse files
committed
fix: Wrong operator usage
1 parent 5609113 commit 38b0c8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/manifest.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function Get-SupportedArchitecture($manifest, $architecture) {
126126
}
127127
} elseif ($architecture[-3] -eq '-') {
128128
$success = $false
129-
for ($i = $architecture[-1] - [byte][char]'0'; $i > 1; --$i) {
129+
for ($i = $architecture[-1] - [byte][char]'0'; $i -gt 1; --$i) {
130130
$testArch = "64bit-v$i"
131131
if ($manifest.architecture.$testArch) {
132132
$success = $true

0 commit comments

Comments
 (0)