From fa5240f70db9789c066b614d0e27f957db437e59 Mon Sep 17 00:00:00 2001 From: Ed B Date: Sat, 23 Mar 2024 12:29:23 +0200 Subject: [PATCH] bug(uad-list): json parsing error - fmt check fix --- src/core/update.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/core/update.rs b/src/core/update.rs index a9084f8..3807dd4 100644 --- a/src/core/update.rs +++ b/src/core/update.rs @@ -150,11 +150,17 @@ pub async fn download_update_to_temp_file( } if let Err(e) = rename(¤t_bin_path, &tmp_path) { - error!("[SelfUpdate] Couldn't rename from current to temporary binary path: {}", e); + error!( + "[SelfUpdate] Couldn't rename from current to temporary binary path: {}", + e + ); return Err(()); } if let Err(e) = rename(&download_path, ¤t_bin_path) { - error!("[SelfUpdate] Couldn't rename from downloaded to current binary path: {}", e); + error!( + "[SelfUpdate] Couldn't rename from downloaded to current binary path: {}", + e + ); return Err(()); }