Fixed broken path tests

Fixes #8132

(cherry picked from commit 5a22afc42bb03c9cdfb0a46d470d084dbdd495d5)
pull/8037/head
Qstick 3 years ago
parent 189603c756
commit dfc9f74116

@ -190,6 +190,11 @@ namespace NzbDrone.Windows.Disk
private IMount GetReparsePoint(string path)
{
if (!Directory.Exists(path))
{
return null;
}
var di = new DirectoryInfo(path);
var isReparsePoint = di.Attributes.HasFlag(FileAttributes.ReparsePoint);

Loading…
Cancel
Save