Don't remove changelog.xml for /revision.
This commit is contained in:
parent
a68c4b5ce2
commit
8b1485796a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user