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 93065fb commit c6eb066Copy full SHA for c6eb066
src/main.rs
@@ -215,8 +215,9 @@ fn migrate_config() -> Result<()> {
215
!entry.file_name().to_string_lossy().ends_with(".log")
216
});
217
218
+ let config_path: PathBuf = get_app_config_path()?;
219
for entry in entries {
- let mut config_path: PathBuf = get_app_config_path()?;
220
+ let mut config_path: PathBuf = config_path.clone();
221
config_path.push(entry.file_name());
222
fs::rename(entry.path(), config_path)?;
223
}
0 commit comments