mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-28 10:18:09 +02:00
lint: cargo clippy
This commit is contained in:
parent
0f64f23dc7
commit
684ee331ef
1 changed files with 2 additions and 1 deletions
|
|
@ -186,7 +186,8 @@ pub fn get_latest_release() -> Result<Option<Release>, ()> {
|
|||
)
|
||||
.map_err(|_| ())?;
|
||||
|
||||
let release_version = release.tag_name.strip_prefix("v").unwrap_or(&release.tag_name);
|
||||
let release_version = release.tag_name.strip_prefix('v').unwrap_or(&release.tag_name);
|
||||
|
||||
if release_version != "dev-build"
|
||||
&& release_version > env!("CARGO_PKG_VERSION")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue