mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 04:51:45 +02:00
fixed broken test
This commit is contained in:
@@ -58,7 +58,15 @@ namespace NzbDrone.Common
|
|||||||
//Drive letter
|
//Drive letter
|
||||||
return dirInfo.Name.ToUpper();
|
return dirInfo.Name.ToUpper();
|
||||||
}
|
}
|
||||||
return Path.Combine(GetProperCapitalization(parentDirInfo), parentDirInfo.GetDirectories(dirInfo.Name)[0].Name);
|
|
||||||
|
var folderName = dirInfo.Name;
|
||||||
|
|
||||||
|
if (dirInfo.Exists)
|
||||||
|
{
|
||||||
|
folderName = parentDirInfo.GetDirectories(dirInfo.Name)[0].Name;
|
||||||
|
}
|
||||||
|
|
||||||
|
return Path.Combine(GetProperCapitalization(parentDirInfo), folderName);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string GetActualCasing(this string path)
|
public static string GetActualCasing(this string path)
|
||||||
|
Reference in New Issue
Block a user