aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/IO/MbLinkShortcutHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/IO/MbLinkShortcutHandler.cs')
-rw-r--r--Emby.Server.Implementations/IO/MbLinkShortcutHandler.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/IO/MbLinkShortcutHandler.cs b/Emby.Server.Implementations/IO/MbLinkShortcutHandler.cs
index a306f94b3..5e5e91bb3 100644
--- a/Emby.Server.Implementations/IO/MbLinkShortcutHandler.cs
+++ b/Emby.Server.Implementations/IO/MbLinkShortcutHandler.cs
@@ -24,7 +24,7 @@ namespace Emby.Server.Implementations.IO
if (string.Equals(Path.GetExtension(shortcutPath), ".mblink", StringComparison.OrdinalIgnoreCase))
{
- var path = _fileSystem.ReadAllText(shortcutPath);
+ var path = File.ReadAllText(shortcutPath);
return _fileSystem.NormalizePath(path);
}
@@ -44,7 +44,7 @@ namespace Emby.Server.Implementations.IO
throw new ArgumentNullException(nameof(targetPath));
}
- _fileSystem.WriteAllText(shortcutPath, targetPath);
+ File.WriteAllText(shortcutPath, targetPath);
}
}
}