Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! tools: fix root certificate updater
Co-authored-by: Michaël Zasso <targos@protonmail.com>
  • Loading branch information
richardlau and targos authored Nov 2, 2024
commit 35da4e0cd80e31b025a23983a149a8d37d12b454
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