diff options
| author | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-26 22:08:04 +0100 |
|---|---|---|
| committer | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-28 22:09:56 +0100 |
| commit | d7c6d1625043fb69a90e7ccb24fc31a912c8a2d3 (patch) | |
| tree | 516b929007f1539c1e1a8ad8cce3f1775c127380 /Emby.Server.Implementations/Channels/ChannelManager.cs | |
| parent | 3a831994f69bbde699a1a725b57d8fd1d7e98641 (diff) | |
Unwrapped CreateDirectory and DeleteDirectory
Diffstat (limited to 'Emby.Server.Implementations/Channels/ChannelManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Channels/ChannelManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Channels/ChannelManager.cs b/Emby.Server.Implementations/Channels/ChannelManager.cs index 387892801..949b89226 100644 --- a/Emby.Server.Implementations/Channels/ChannelManager.cs +++ b/Emby.Server.Implementations/Channels/ChannelManager.cs @@ -355,7 +355,7 @@ namespace Emby.Server.Implementations.Channels return; } - _fileSystem.CreateDirectory(Path.GetDirectoryName(path)); + Directory.CreateDirectory(Path.GetDirectoryName(path)); _jsonSerializer.SerializeToFile(mediaSources, path); } @@ -834,7 +834,7 @@ namespace Emby.Server.Implementations.Channels { try { - _fileSystem.CreateDirectory(Path.GetDirectoryName(path)); + Directory.CreateDirectory(Path.GetDirectoryName(path)); _jsonSerializer.SerializeToFile(result, path); } |
