mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Added test to check Config behavior.
This commit is contained in:
parent
3a938e18fa
commit
6e179839d9
3 changed files with 46 additions and 4 deletions
|
@ -339,7 +339,7 @@ namespace NzbDrone.Core.Configuration
|
|||
{
|
||||
if (_diskProvider.FileExists(_configFile))
|
||||
{
|
||||
return XDocument.Load(_configFile);
|
||||
return XDocument.Parse(_diskProvider.ReadAllText(_configFile));
|
||||
}
|
||||
|
||||
var xDoc = new XDocument(new XDeclaration("1.0", "utf-8", "yes"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue