From d27cfa4a3b2732997a8298f54b44c9af39339067 Mon Sep 17 00:00:00 2001 From: steven-omaha <35634100+steven-omaha@users.noreply.github.com> Date: Thu, 27 Apr 2023 10:14:10 +0200 Subject: [PATCH] refact(review): handle upper-case input This commit updates the `ask_user_action_for_package` function in the `review` module to convert user input to lowercase. This ensures that the user input is case-insensitive and improves the user experience. --- crates/pacdef_core/src/review/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/pacdef_core/src/review/mod.rs b/crates/pacdef_core/src/review/mod.rs index 2fee448..ff557d6 100644 --- a/crates/pacdef_core/src/review/mod.rs +++ b/crates/pacdef_core/src/review/mod.rs @@ -115,7 +115,7 @@ fn ask_user_action_for_package(supports_as_dependency: bool) -> Result Ok(ReviewIntention::AsDependency), 'd' => Ok(ReviewIntention::Delete), 'g' => Ok(ReviewIntention::AssignGroup),