mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-07 13:32:17 -07:00
failed attempt to write a test for Series Controller
This commit is contained in:
parent
020a7462c0
commit
babe2735ee
10 changed files with 105 additions and 23 deletions
|
@ -22,14 +22,6 @@ namespace NzbDrone.Core.Controllers
|
|||
return Directory.CreateDirectory(path).FullName;
|
||||
}
|
||||
|
||||
|
||||
public string CleanPath(string path)
|
||||
{
|
||||
if (string.IsNullOrEmpty(path)) throw new ArgumentException("Path can not be null or empty");
|
||||
|
||||
return path.ToLower().Trim('/', '\\', ' ');
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue