mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-12 11:15:43 +02:00
Fixed: Hidden files being ignored
This commit is contained in:
parent
d5c6faaf45
commit
d493f8762f
@ -162,6 +162,7 @@ public IEnumerable<string> GetFiles(string path, bool recursive)
|
||||
|
||||
return Directory.EnumerateFiles(path, "*", new EnumerationOptions
|
||||
{
|
||||
AttributesToSkip = FileAttributes.System,
|
||||
RecurseSubdirectories = recursive,
|
||||
IgnoreInaccessible = true
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user