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
  • Loading branch information
bonigarcia committed Oct 18, 2024
1 parent 2dcac9f commit 424cf92
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 424cf92

Please sign in to comment.