diff --git a/server/AyaNova/util/FileUtil.cs b/server/AyaNova/util/FileUtil.cs index c2089138..d44ea2a8 100644 --- a/server/AyaNova/util/FileUtil.cs +++ b/server/AyaNova/util/FileUtil.cs @@ -64,6 +64,7 @@ namespace AyaNova.Util //create path if doesn't exist already private static void EnsurePath(string path) { + Console.WriteLine($"FileUtil::EnsurePath path = [{path}]"); if (!Directory.Exists(path)) Directory.CreateDirectory(path); } @@ -295,8 +296,8 @@ namespace AyaNova.Util /// internal static void EraseBackupFile(string name) { - - name=Path.GetFileName(name);//ensure no directory shenanigans, only a file name is allowed + + name = Path.GetFileName(name);//ensure no directory shenanigans, only a file name is allowed //remove the file completely var DeleteFilePath = Path.Combine(BackupFilesFolder, name); if (File.Exists(DeleteFilePath))