some more bugfixes & cleanup
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace ModpackUpdater.Manager;
|
||||
|
||||
|
||||
public static class Extensions
|
||||
{
|
||||
public static bool IsSide(this Side @this, Side side)
|
||||
@@ -30,7 +29,7 @@ public static class Extensions
|
||||
foreach (FileInfo @file in dir.GetFiles())
|
||||
{
|
||||
string targetFilePath = Path.Combine(destinationDir, @file.Name);
|
||||
@file.CopyTo(targetFilePath);
|
||||
@file.CopyTo(targetFilePath, true);
|
||||
}
|
||||
|
||||
// If recursive and copying subdirectories, recursively call this method
|
||||
@@ -43,5 +42,4 @@ public static class Extensions
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user