Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamIsrael committed Jan 1, 2024
1 parent 0927427 commit 79960d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ const MAX_AGE: u64 = 86400 * 30;
/// Expand the static relative path to a full absolute path
pub fn expand_path(path: &str) -> String {
expanduser::expanduser(path)
.unwrap()
.to_str()
.unwrap()
.to_string()
.unwrap()
.to_str()
.unwrap()
.to_string()
}

/// Download the file to a specific destination
Expand Down

0 comments on commit 79960d3

Please sign in to comment.