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 a73e005 commit fa19226Copy full SHA for fa19226
Desktop/Config/ModuleConfig.cs
@@ -71,8 +71,8 @@ private async Task LoadConfig()
71
{
72
_logger.LogCritical(e, "Error during deserialization/loading of config");
73
_logger.LogWarning("Attempting to move old config and generate a new one");
74
- var configName = Path.GetFileName(_configPath);
75
- File.Move(configName, $"{configName}.old");
+ var backupPath = _configPath + ".old";
+ File.Move(_configPath, backupPath);
76
}
77
78
0 commit comments