From 816c9f2b90e32467df2adddb29d3206ad5059047 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Wed, 29 Jan 2025 07:43:32 -0800 Subject: [PATCH] Fix windows --- crates/criticalup-cli/src/cli/subcommand/which.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/criticalup-cli/src/cli/subcommand/which.rs b/crates/criticalup-cli/src/cli/subcommand/which.rs index f66c394..1eda685 100644 --- a/crates/criticalup-cli/src/cli/subcommand/which.rs +++ b/crates/criticalup-cli/src/cli/subcommand/which.rs @@ -56,7 +56,7 @@ impl CommandExecute for Which { if tools_bin_path_with_exe.exists() { println!("{}\n", tools_bin_path_with_exe.display()); } else { - return Err(BinaryNotInstalled(tool)); + return Err(BinaryNotInstalled(binary)); } } #[cfg(not(windows))]