Skip to content

Commit

Permalink
[rust] Use endpoint for stable versions first to manage Firefox (#14536
Browse files Browse the repository at this point in the history
…) (#14613)
  • Loading branch information
bonigarcia authored Nov 18, 2024
1 parent 9054e89 commit 0d2dda1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rust/src/firefox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,10 @@ impl SeleniumManager for FirefoxManager {
}

let mut firefox_versions =
self.request_versions_from_online(FIREFOX_HISTORY_MAJOR_ENDPOINT)?;
self.request_versions_from_online(FIREFOX_HISTORY_ENDPOINT)?;
if firefox_versions.is_empty() {
firefox_versions = self.request_versions_from_online(FIREFOX_HISTORY_ENDPOINT)?;
firefox_versions =
self.request_versions_from_online(FIREFOX_HISTORY_MAJOR_ENDPOINT)?;
if firefox_versions.is_empty() {
firefox_versions =
self.request_versions_from_online(FIREFOX_HISTORY_DEV_ENDPOINT)?;
Expand Down

0 comments on commit 0d2dda1

Please sign in to comment.