mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
Fixed inlining local-variable artifact.
This commit is contained in:
parent
d3afa53191
commit
1d1d7e8a37
@ -209,9 +209,8 @@ namespace Emby.Server.Implementations.AppBase
|
||||
protected void EnsureWriteAccess(string path)
|
||||
{
|
||||
var file = Path.Combine(path, Guid.NewGuid().ToString());
|
||||
|
||||
string text = string.Empty;
|
||||
File.WriteAllText(file, text);
|
||||
|
||||
File.WriteAllText(file, string.Empty);
|
||||
FileSystem.DeleteFile(file);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user