dont backup non existing files ...

This commit is contained in:
2015-01-16 08:05:28 +01:00
parent 302b44948e
commit 5ee839ec72

View File

@ -123,7 +123,10 @@ namespace CobXmlSupport
File.Delete(backupfile);
}
if (File.Exists(inPath + codeFile))
{
File.Move(inPath + codeFile, backupfile);//+ DateTime.Now.ToString());
}
File.WriteAllText(inPath + codeFile, codeComplInit);
refreshWindow();