Skip to content

Commit

Permalink
fix: methods renamed in 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Jul 8, 2024
1 parent c0b3262 commit 9201a30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion axoupdater/src/receipt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pub(crate) fn get_config_path(app_name: &str) -> AxoupdateResult<Utf8PathBuf> {
let home = if cfg!(windows) {
env::var("LOCALAPPDATA").map(PathBuf::from).ok()
} else {
homedir::get_my_home()?.map(|path| path.join(".config"))
homedir::my_home()?.map(|path| path.join(".config"))
};
let Some(home) = home else {
return Err(AxoupdateError::NoHome {});
Expand Down
2 changes: 1 addition & 1 deletion axoupdater/src/test/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ pub fn perform_runtest(runtest_args: &RuntestArgs) -> PathBuf {
} = runtest_args;

let basename = bin.file_name().unwrap();
let home = homedir::get_my_home().unwrap().unwrap();
let home = homedir::my_home().unwrap().unwrap();

let app_home = &home.join(".cargo").join("bin");
let app_path = &app_home.join(basename);
Expand Down

0 comments on commit 9201a30

Please sign in to comment.