Fix bad global
This commit is contained in:
parent
455cdc8b37
commit
9a99eaee96
2 changed files with 6 additions and 2 deletions
|
@ -34,6 +34,7 @@ pub async fn latest_github_release(
|
|||
.read_to_end(&mut body)
|
||||
.await
|
||||
.context("error reading latest release")?;
|
||||
|
||||
let release: GithubRelease =
|
||||
serde_json::from_slice(body.as_slice()).context("error deserializing latest release")?;
|
||||
Ok(release)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue