Skip to content

Commit

Permalink
fix(config): use correct HOME_ENV constant
Browse files Browse the repository at this point in the history
  • Loading branch information
DevYukine committed Jan 16, 2024
1 parent c823b08 commit ee3584a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fn get_home_env() -> Option<String> {

#[cfg(not(target_os = "windows"))]
fn get_home_env() -> Option<String> {
if let Ok(home) = env::var(UNIX_HOME_ENV) {
if let Ok(home) = env::var(HOME_ENV) {
return Some(home);
}

Expand Down

0 comments on commit ee3584a

Please sign in to comment.