From 38b0c8dd185e0aa52ef17252de1ed97771c4a8bc Mon Sep 17 00:00:00 2001 From: Brian <18603393+brian6932@users.noreply.github.com> Date: Wed, 4 Oct 2023 01:16:58 -0400 Subject: [PATCH] fix: Wrong operator usage --- lib/manifest.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/manifest.ps1 b/lib/manifest.ps1 index 8a425c2594..19334a59ef 100644 --- a/lib/manifest.ps1 +++ b/lib/manifest.ps1 @@ -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