From 3fd40a48e46458d2663d4797f959941d1ee648d3 Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Fri, 17 Jan 2025 11:59:07 +0000 Subject: [PATCH] chore: update-prompt remove targetCount hack --- update-prompt/main.js | 1 - 1 file changed, 1 deletion(-) diff --git a/update-prompt/main.js b/update-prompt/main.js index 6aed711..9d8bf9d 100644 --- a/update-prompt/main.js +++ b/update-prompt/main.js @@ -17,7 +17,6 @@ async function getLatestBuildsForBranch(branch, targetCount) { let target = `${process.platform}-${process.arch}-tgz` if (target === 'linux-x64-tgz') target = 'linux-tgz' - targetCount *= 10 // HACK until the api changes const rawData = await fetch(`https://api.bitfocus.io/v1/product/companion/packages?branch=${branch}&limit=${targetCount}&target=${target}`) const data = await rawData.json()