Skip to content

Commit

Permalink
unwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
ryardley committed Dec 7, 2024
1 parent 41a87ba commit 8f6b5b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ciphernode/config/src/app_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,12 @@ fn expand_tilde(path: &Path) -> PathBuf {
struct OsDirs;
impl OsDirs {
pub fn config_dir() -> PathBuf {
// TODO: handle unwrap error case
dirs::config_dir().unwrap().join("enclave")
}

pub fn data_dir() -> PathBuf {
// TODO: handle unwrap error case
dirs::data_local_dir().unwrap().join("enclave")
}
}
Expand Down

0 comments on commit 8f6b5b3

Please sign in to comment.