mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-21 18:35:15 -04:00
Fix tests
This commit is contained in:
parent
53b8927fce
commit
0fdab76a74
1 changed files with 8 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue