Skip to content

Commit

Permalink
fix: handle relative paths to data dir properly
Browse files Browse the repository at this point in the history
  • Loading branch information
shenek committed Sep 7, 2024
1 parent 8a61116 commit 7d6b834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ucelofka/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub fn check_data_dir(root_dir: &Path) -> Result<PathBuf> {
)));
}
}
Ok(root_dir.to_owned())
Ok(path.to_owned())
} else {
Err(anyhow!(get_message(
"path-not-exits",
Expand Down

0 comments on commit 7d6b834

Please sign in to comment.