mirror of
https://github.com/Sonarr/Sonarr
synced 2026-04-27 23:51:31 +02:00
Fixed: Hidden files being ignored
This commit is contained in:
parent
d5c6faaf45
commit
d493f8762f
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue