Merge pull request #852 from Universal-Debloater-Alliance/hotfix/rm-dbg-pack-validation

fix: disable debug validation of pack-IDs
This commit is contained in:
Anonymoussaurus 2025-02-19 19:57:01 +01:00 committed by GitHub
commit 3dec08bee0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)
})