From 98077cf5acba25fb8422369053f39a6178d267f4 Mon Sep 17 00:00:00 2001 From: Rudxain <76864299+Rudxain@users.noreply.github.com> Date: Tue, 18 Feb 2025 11:13:40 -0400 Subject: [PATCH] hotfix: disable debug validation of pack-IDs --- src/core/adb.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/adb.rs b/src/core/adb.rs index 7cfd869..274e963 100644 --- a/src/core/adb.rs +++ b/src/core/adb.rs @@ -268,8 +268,8 @@ impl PmCommand { debug_assert!(p_ln.starts_with(PACK_PREFIX)); let p_id = &p_ln[PACK_PREFIX.len()..]; - #[cfg(debug_assertions)] - PackageId::new(p_id).expect(INVALID_PKG_ID); + //#[cfg(debug_assertions)] + //PackageId::new(p_id).expect(INVALID_PKG_ID); String::from(p_id) })