We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfb0026 commit c57e712Copy full SHA for c57e712
src/paths.rs
@@ -124,10 +124,6 @@ fn get_artiaa_path_based_on_os() -> ForemanResult<PathBuf> {
124
125
#[cfg(all(not(target_os = "macos"), target_family = "unix"))]
126
fn get_artiaa_path_based_on_os() -> ForemanResult<PathBuf> {
127
- let xdg_data_home = env::var("XDG_DATA_HOME").map_err(|_| ForemanError::EnvVarNotFound {
128
- env_var: "$XDG_DATA_HOME".to_string(),
129
- })?;
130
-
131
if let Ok(xdg_data_home) = env::var("XDG_DATA_HOME") {
132
return Ok(PathBuf::from(format!(
133
"{}/artiaa-tokens.json",
0 commit comments