Skip to content

Commit

Permalink
chore: update-prompt remove targetCount hack
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jan 17, 2025
1 parent a22f7ce commit 3fd40a4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion update-prompt/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 3fd40a4

Please sign in to comment.