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 0f873b1 commit 87188fbCopy full SHA for 87188fb
src/settings.rs
@@ -197,19 +197,10 @@ pub fn get_local_config_path() -> Option<PathBuf> {
197
if !config_dir.is_dir() {
198
fs::create_dir_all(&config_dir).ok()?;
199
}
200
-<<<<<<< HEAD
201
- let config_path = config_dir
202
- .parent()
203
- .unwrap_or_else(|| &config_dir)
204
- .join("gptcommit.toml");
205
-||||||| parent of 6b04239 (Simplify path)
206
- let config_path = config_dir.join("../gptcommit.toml");
207
-=======
208
let config_path = config_dir
209
.parent()
210
.unwrap_or(&config_dir)
211
.join("gptcommit.toml");
212
->>>>>>> 6b04239 (Simplify path)
213
if !config_path.exists() {
214
fs::write(&config_path, "").ok()?;
215
0 commit comments