cargo clipppy
@@ -15,7 +15,6 @@ pub struct DependencyDetector {
impl DependencyDetector {
pub fn new() -> Self {
let package_managers = package_manager::build();
-
DependencyDetector { package_managers }
}
@@ -50,6 +49,12 @@ impl DependencyDetector {
}
}
+impl Default for DependencyDetector {
+ fn default() -> Self {
+ Self::new()
+ }
+}
+
pub struct DependenciesInfo {
pub dependencies: String,
}
