This commit is contained in:
JMARyA 2025-01-13 20:51:46 +01:00
parent cb4de4dcb4
commit 9c5771653e
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -85,9 +85,9 @@ impl Package {
let (key, val) = line.split_once(" = ").unwrap();
if let Some(e) = ret.iter_mut().find(|x| x.0 == key) {
e.1.push(val.to_string());
e.1.push(val.trim().to_string());
} else {
ret.push((key.to_string(), vec![val.to_string()]));
ret.push((key.to_string(), vec![val.trim().to_string()]));
}
}