Skip to content

Commit

Permalink
fix(elan-utils): fetch_latest_release_tag: must use redirect for nigh…
Browse files Browse the repository at this point in the history
…tlies
  • Loading branch information
Kha committed Apr 15, 2018
1 parent 4adfc9a commit 0949fe4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/elan-utils/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,7 @@ pub fn fetch_latest_release_tag(repo_slug: &str) -> Result<String> {
::download::curl::EASY.with(|handle| {
let mut handle = handle.borrow_mut();
handle.url(&latest_url).unwrap();
handle.follow_location(true).unwrap();
{
let mut transfer = handle.transfer();
transfer.write_function(|new_data| {
Expand Down

0 comments on commit 0949fe4

Please sign in to comment.