mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-29 01:07:47 +00:00
Fix tests
This commit is contained in:
@@ -25,7 +25,14 @@ public static class ExportWrapper
|
|||||||
|
|
||||||
static ExportWrapper()
|
static ExportWrapper()
|
||||||
{
|
{
|
||||||
Directory.Delete(DirPath, true);
|
try
|
||||||
|
{
|
||||||
|
Directory.Delete(DirPath, true);
|
||||||
|
}
|
||||||
|
catch (DirectoryNotFoundException)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
Directory.CreateDirectory(DirPath);
|
Directory.CreateDirectory(DirPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user