Skip to content

Commit

Permalink
update-browser-releases: "current" should not become "esr" for Firefox (
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg authored Jul 23, 2024
1 parent e35a6ef commit 3672f8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/update-browser-releases/firefox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ export const updateFirefoxReleases = async (options) => {
>,
).forEach(([key, entry]) => {
if (key === String(esrRelease)) {
if (entry.status === 'current') {
// If the current release is also considered the ESR release, "current" status takes priority
return;
}
result += updateBrowserEntry(
firefoxBCD,
options.bcdBrowserName,
Expand Down

0 comments on commit 3672f8c

Please sign in to comment.