1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-11-06 09:19:38 +02:00

Fixed broken path tests

This commit is contained in:
Qstick
2020-12-07 22:39:52 -05:00
committed by Mark McDowall
parent 75378f7bde
commit 5a22afc42b

View File

@@ -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);