mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
improved Linux support for tests.
This commit is contained in:
parent
660185640d
commit
3162e4864d
20 changed files with 178 additions and 149 deletions
|
@ -81,7 +81,7 @@ namespace NzbDrone.Core.MediaFiles
|
|||
_mediaFileRepository.DeleteMany(files);
|
||||
}
|
||||
|
||||
public FileInfo CalculateFilePath(Series series, int seasonNumber, string fileName, string extention)
|
||||
public FileInfo CalculateFilePath(Series series, int seasonNumber, string fileName, string extension)
|
||||
{
|
||||
string path = series.Path;
|
||||
if (series.SeasonFolder)
|
||||
|
@ -93,7 +93,7 @@ namespace NzbDrone.Core.MediaFiles
|
|||
path = Path.Combine(path, seasonFolder);
|
||||
}
|
||||
|
||||
path = Path.Combine(path, fileName + extention);
|
||||
path = Path.Combine(path, fileName + extension);
|
||||
|
||||
return new FileInfo(path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue