mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 07:43:31 -07:00
Fix tests
This commit is contained in:
parent
53b8927fce
commit
0fdab76a74
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue