From b5b5946efa531bf2783f361d6516ecb590fb1558 Mon Sep 17 00:00:00 2001 From: talynone Date: Tue, 28 Apr 2026 02:51:29 -0700 Subject: [PATCH] Update scripts/download-bins.js Co-authored-by: Subhamoy Biswas <86715146+neosubhamoy@users.noreply.github.com> --- scripts/download-bins.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/download-bins.js b/scripts/download-bins.js index 5944d43..19b09fb 100644 --- a/scripts/download-bins.js +++ b/scripts/download-bins.js @@ -23,9 +23,9 @@ function getArchesForBin(bin) { ...((bin.archive && bin.archive.binDest) || []) ]; const arches = new Set(); - for (const p of paths) { - if (p.includes('-x86_64-') || p.includes('-x64-')) arches.add('x64'); - if (p.includes('-aarch64-') || p.includes('-arm64-')) arches.add('arm64'); + for (const path of paths) { + if (path.includes('-x86_64-') || path.includes('-x64-')) arches.add('x64'); + if (path.includes('-aarch64-') || path.includes('-arm64-')) arches.add('arm64'); } return arches; }