1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 21:27:24 +08:00

Fix TestMigrationToSeeminglyNestedTarget failing

This commit is contained in:
Shivam 2020-06-22 11:56:14 +02:00
parent 21774b8967
commit f878388d57
3 changed files with 1 additions and 6 deletions

View File

@ -52,9 +52,6 @@ namespace osu.Game.Tournament.IO
var destination = new DirectoryInfo(GetFullPath(default_tournament));
var cfgDestination = new DirectoryInfo(GetFullPath(default_tournament + Path.DirectorySeparatorChar + config_directory));
// if (!destination.Exists)
// destination.Create();
if (source.Exists)
{
Logger.Log("Migrating tournament assets to default tournament storage.");

View File

@ -55,8 +55,6 @@ namespace osu.Game.IO
{
if (destination.GetFiles().Length > 0 || destination.GetDirectories().Length > 0)
throw new ArgumentException("Destination provided already has files or directories present", nameof(newLocation));
deleteRecursive(destination);
}
copyRecursive(source, destination);