From 8b21be5e14f44c4f9b0d995ed73709bdde30028f Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Fri, 24 Mar 2023 08:46:13 +0200 Subject: Added checking for a valid path, but the test is failing for the wrong reason --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 99d8877..595e3ec 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -39,4 +39,6 @@ pub enum ShackleError { ReadlineError(#[from] ReadlineError), #[error("Could not get the current user name")] UserReadError, + #[error("Path is not accessible")] + InvalidDirectory, } -- cgit v1.2.3