Remove context that isn't required

Signed-off-by: trivernis <trivernis@protonmail.com>
i18n
trivernis 2 years ago
parent 1c3de417e2
commit 6d2fb4342d
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -15,7 +15,6 @@ use super::aur_package_install::AurPackageInstall;
pub struct AurDependencyInstallation {
pub options: crate::internal::structs::Options,
pub packages: Vec<String>,
pub dependencies: Vec<DependencyInformation>,
pub contexts: Vec<BuildContext>,
}
@ -44,11 +43,11 @@ impl AurDependencyInstallation {
Ok(AurPackageInstall {
options: self.options,
packages: self.packages,
dependencies: self.dependencies,
contexts: self.contexts,
})
}
#[tracing::instrument(level = "trace", skip(self))]
pub async fn install(&self, deps: Vec<&PackageInfo>) -> AppResult<()> {
multi_progress!();

@ -11,7 +11,6 @@ use super::BuildContext;
pub struct AurPackageInstall {
pub options: Options,
pub packages: Vec<String>,
pub dependencies: Vec<DependencyInformation>,
pub contexts: Vec<BuildContext>,
}

@ -32,7 +32,6 @@ impl AurReview {
}
Ok(RepoDependencyInstallation {
options: self.options,
packages: self.packages,
dependencies: self.dependencies,
contexts: self.contexts,
})

@ -9,7 +9,6 @@ use super::{aur_dependency_installation::AurDependencyInstallation, BuildContext
pub struct RepoDependencyInstallation {
pub options: Options,
pub packages: Vec<String>,
pub dependencies: Vec<DependencyInformation>,
pub contexts: Vec<BuildContext>,
}
@ -34,7 +33,6 @@ impl RepoDependencyInstallation {
}
Ok(AurDependencyInstallation {
options: self.options,
packages: self.packages,
dependencies: self.dependencies,
contexts: self.contexts,
})

Loading…
Cancel
Save