Don't remove changelog.xml for /revision.

This commit is contained in:
Irina Tiulneva 2021-06-18 15:32:58 +03:00
parent a68c4b5ce2
commit 8b1485796a

View File

@ -49,7 +49,7 @@ public class DebugInfo
var ChangeLogFilePath = Path.Combine(basePath, DataName);
var ResultNameFilePath = Path.Combine(basePath, ResultName);
if (File.Exists(ResultNameFilePath) && !File.Exists(ChangeLogFilePath))
if (File.Exists(ResultNameFilePath))
{
if (File.ReadAllText(ResultNameFilePath, Encoding.Default) != "")
{
@ -104,8 +104,6 @@ public class DebugInfo
File.WriteAllText(ResultNameFilePath, fileContent);
File.Delete(ChangeLogFilePath);
return fileContent;
}
catch (Exception e)