mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-24 06:24:19 +02:00
ci(adb): use debug_assert to not trigger panic_in_result_fn
This commit is contained in:
parent
0dc61c825f
commit
fb131df206
1 changed files with 1 additions and 2 deletions
|
|
@ -348,8 +348,7 @@ impl PmCommand {
|
|||
.map(|p_ln| {
|
||||
debug_assert!(p_ln.starts_with(PACK_PREFIX));
|
||||
let p = &p_ln[PACK_PREFIX.len()..];
|
||||
#[cfg(debug_assertions)]
|
||||
assert!(PackageId::new(p.into()).is_some() || p == "android");
|
||||
debug_assert!(PackageId::new(p.into()).is_some() || p == "android");
|
||||
String::from(p)
|
||||
})
|
||||
.collect()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue