From 5a8bbe296704f679063ef8b820d582d7f728400b Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Thu, 16 Nov 2023 18:55:46 +0200 Subject: [PATCH] chore: remove dead code from updater test (#731) --- plugins/updater/tests/app-updater/tests/update.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/plugins/updater/tests/app-updater/tests/update.rs b/plugins/updater/tests/app-updater/tests/update.rs index 287664e8..29e878a9 100644 --- a/plugins/updater/tests/app-updater/tests/update.rs +++ b/plugins/updater/tests/app-updater/tests/update.rs @@ -39,21 +39,6 @@ struct Update { platforms: HashMap, } -fn get_cli_bin_path(cli_dir: &Path, debug: bool) -> Option { - let mut cli_bin_path = cli_dir.join(format!( - "target/{}/cargo-tauri", - if debug { "debug" } else { "release" } - )); - if cfg!(windows) { - cli_bin_path.set_extension("exe"); - } - if cli_bin_path.exists() { - Some(cli_bin_path) - } else { - None - } -} - fn build_app(cwd: &Path, config: &Config, bundle_updater: bool, target: BundleTarget) { let mut command = Command::new("cargo"); command