From 8ca51af78af5b16e9edc5a7167ae87275151658e Mon Sep 17 00:00:00 2001 From: Joshua Olaoye Date: Sat, 26 Oct 2024 21:49:20 -0500 Subject: [PATCH] chore: Update error message for case when input directory is not a level deep --- file-shuffler/shuffler-in-rust/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file-shuffler/shuffler-in-rust/src/main.rs b/file-shuffler/shuffler-in-rust/src/main.rs index 35395d0..f8f83e4 100644 --- a/file-shuffler/shuffler-in-rust/src/main.rs +++ b/file-shuffler/shuffler-in-rust/src/main.rs @@ -661,7 +661,7 @@ fn main() -> io::Result<()> { } if !is_at_least_two_levels_deep(&source_dir) { - eprintln!("Source directory is not at least 2 levels deep."); + eprintln!("Source directory is not at least 1 levels deep."); std::process::exit(1); }