mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 14:37:44 +01:00
tavs
This commit is contained in:
@@ -30,11 +30,11 @@ namespace TGServerService
|
||||
if (excludeRoot != null)
|
||||
for (var I = 0; I < excludeRoot.Count; ++I)
|
||||
excludeRoot[I] = excludeRoot[I].ToLower();
|
||||
if (!di.Attributes.HasFlag(FileAttributes.Directory))
|
||||
{ //this is probably a symlink
|
||||
Directory.Delete(di.FullName);
|
||||
return;
|
||||
}
|
||||
if (!di.Attributes.HasFlag(FileAttributes.Directory))
|
||||
{ //this is probably a symlink
|
||||
Directory.Delete(di.FullName);
|
||||
return;
|
||||
}
|
||||
NormalizeAndDelete(di, excludeRoot);
|
||||
if (!ContentsOnly)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user