Skip to content

Commit 2f88a06

Browse files
authored
fix(config): use correct config path
1 parent 12807ea commit 2f88a06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/but-path/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub fn app_config_dir() -> anyhow::Result<PathBuf> {
1313
if let Ok(test_dir) = std::env::var("E2E_TEST_APP_DATA_DIR") {
1414
return Ok(PathBuf::from(test_dir).join("gitbutler"));
1515
}
16-
dirs::data_dir()
16+
dirs::config_dir()
1717
.ok_or(anyhow::anyhow!("Could not get app data dir"))
1818
.map(|dir| dir.join("gitbutler"))
1919
}

0 commit comments

Comments
 (0)