mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-05-05 03:53:40 +00:00
Fix tests
This commit is contained in:
@@ -24,8 +24,15 @@ public static class ExportWrapper
|
|||||||
);
|
);
|
||||||
|
|
||||||
static ExportWrapper()
|
static ExportWrapper()
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
Directory.Delete(DirPath, true);
|
Directory.Delete(DirPath, true);
|
||||||
|
}
|
||||||
|
catch (DirectoryNotFoundException)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
Directory.CreateDirectory(DirPath);
|
Directory.CreateDirectory(DirPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user