Skip to content

Commit

Permalink
fixup! tools: fix root certificate updater
Browse files Browse the repository at this point in the history
Co-authored-by: Michaël Zasso <[email protected]>
  • Loading branch information
richardlau and targos authored Nov 2, 2024
1 parent b7332f8 commit 35da4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/dep_updaters/update-root-certs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const getFirefoxReleases = async (everything = false) => {
console.error(`Failed to fetch ${releaseDataURL}: ${releaseData.status}: ${releaseData.statusText}.`);
process.exit(-1);
}
return JSON.parse(await releaseData.text()).filter((release) => {
return (await releaseData.json()).filter((release) => {
// We're only interested in public releases of Firefox.
return (release.product === 'Firefox' && release.channel === 'Release' && release.is_public === true);
}).sort((a, b) => {
Expand Down

0 comments on commit 35da4e0

Please sign in to comment.