We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2400938 commit c06226cCopy full SHA for c06226c
src/config/config.rs
@@ -77,6 +77,10 @@ fn get_config_path_from_default_location_by_env(env: &str) -> Option<PathBuf> {
77
78
#[cfg(target_os = "windows")]
79
fn get_home_env() -> Option<String> {
80
+ use crate::config::constants::WINDOWS_HOMEDRIVE_ENV;
81
+ use crate::config::constants::WINDOWS_HOMEPATH_ENV;
82
+ use crate::config::constants::WINDOWS_USERPROFILE_ENV;
83
+
84
if let Ok(home) = env::var(HOME_ENV) {
85
return Some(home);
86
}
0 commit comments