From 4c6bf42f5e1150b720137709e36cbc0eb6c79814 Mon Sep 17 00:00:00 2001 From: Naman Garg Date: Tue, 23 Jan 2024 04:34:42 +0530 Subject: [PATCH] Rectify Test --- crates/packager/src/package/pacman/mod.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/crates/packager/src/package/pacman/mod.rs b/crates/packager/src/package/pacman/mod.rs index 3549a285..b3b28797 100644 --- a/crates/packager/src/package/pacman/mod.rs +++ b/crates/packager/src/package/pacman/mod.rs @@ -32,12 +32,7 @@ pub(crate) fn package(ctx: &Context) -> crate::Result> { let intermediates_path = intermediates_path.join("pacman"); util::create_clean_dir(&intermediates_path)?; - let package_base_name = format!( - "{}_{}_{}", - config.main_binary_name()?, - config.version, - arch - ); + let package_base_name = format!("{}_{}_{}", config.main_binary_name()?, config.version, arch); let package_name = format!("{}.tar.gz", package_base_name); let pkg_dir = intermediates_path.join(&package_base_name);