From e6c10bfd4203e677dd6ae3b4648e51d8975d0f96 Mon Sep 17 00:00:00 2001 From: Michal Date: Fri, 22 Jul 2022 23:49:11 +0100 Subject: [PATCH] fmt --- src/repository/repo.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/repository/repo.rs b/src/repository/repo.rs index a283536..fcf20d6 100644 --- a/src/repository/repo.rs +++ b/src/repository/repo.rs @@ -47,7 +47,14 @@ pub fn generate(verbose: bool) { if path.extension().unwrap() == "zst" || path.extension().unwrap() == "xz" { log!(verbose, "Signing {}", path.display()); Command::new("bash") - .args(&["-c", &format!("gpg --default-key {} --detach-sign {}", config.mode.repository.signing.key, file.file_name().to_str().unwrap())]) + .args(&[ + "-c", + &format!( + "gpg --default-key {} --detach-sign {}", + config.mode.repository.signing.key, + file.file_name().to_str().unwrap() + ), + ]) .spawn() .unwrap() .wait()