From 7d6b834cea78f268e47308845dcb1f3cafa77029 Mon Sep 17 00:00:00 2001 From: Stepan Henek Date: Sat, 7 Sep 2024 23:43:10 +0200 Subject: [PATCH] fix: handle relative paths to data dir properly --- ucelofka/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ucelofka/src/main.rs b/ucelofka/src/main.rs index e9b2d51..1ffce77 100644 --- a/ucelofka/src/main.rs +++ b/ucelofka/src/main.rs @@ -53,7 +53,7 @@ pub fn check_data_dir(root_dir: &Path) -> Result { ))); } } - Ok(root_dir.to_owned()) + Ok(path.to_owned()) } else { Err(anyhow!(get_message( "path-not-exits",