aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/installer/installation_manager.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/installer/installation_manager.rs')
-rw-r--r--crates/shirabe/src/installer/installation_manager.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/crates/shirabe/src/installer/installation_manager.rs b/crates/shirabe/src/installer/installation_manager.rs
index 1f1c60a5..454dfa86 100644
--- a/crates/shirabe/src/installer/installation_manager.rs
+++ b/crates/shirabe/src/installer/installation_manager.rs
@@ -191,11 +191,7 @@ impl InstallationManager {
}
}
- Err(InvalidArgumentException {
- message: format!("Unknown installer type: {}", r#type),
- code: 0,
- }
- .into())
+ Err(InvalidArgumentException::new(format!("Unknown installer type: {}", r#type)).into())
}
/// Checks whether provided package is installed in one of the registered installers.