Update CreateDirectory

This commit is contained in:
sunkaixuan
2022-05-24 23:01:50 +08:00
parent af886e58d1
commit 0fdd9dbe33

View File

@@ -46,7 +46,10 @@ namespace SqlSugar
{ {
if (!IsExistDirectory(directoryPath)) if (!IsExistDirectory(directoryPath))
{ {
Directory.CreateDirectory(directoryPath); if (directoryPath != "")
{
Directory.CreateDirectory(directoryPath);
}
} }
} }
public static void DeleteFile(string filePath) public static void DeleteFile(string filePath)