chore: cleanup

This commit is contained in:
iff 2024-12-08 01:44:41 +01:00
parent 02d9cf0754
commit 1454a4b992
4 changed files with 7 additions and 14 deletions

View file

@ -30,7 +30,10 @@ pub fn get_packages(
if !data.has_executable("apt-file") {
return None;
}
let result = command_output(shell, &format!("apt-file find --regexp '.*/bin/{}$'", executable));
let result = command_output(
shell,
&format!("apt-file find --regexp '.*/bin/{}$'", executable),
);
if result.is_empty() {
return None;
}