mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-08 23:00:51 +02:00
Removed loose whitespace and one .ToArray() call.
This commit is contained in:
parent
1d1d7e8a37
commit
838541b825
|
@ -209,7 +209,6 @@ namespace Emby.Server.Implementations.AppBase
|
||||||
protected void EnsureWriteAccess(string path)
|
protected void EnsureWriteAccess(string path)
|
||||||
{
|
{
|
||||||
var file = Path.Combine(path, Guid.NewGuid().ToString());
|
var file = Path.Combine(path, Guid.NewGuid().ToString());
|
||||||
|
|
||||||
File.WriteAllText(file, string.Empty);
|
File.WriteAllText(file, string.Empty);
|
||||||
FileSystem.DeleteFile(file);
|
FileSystem.DeleteFile(file);
|
||||||
}
|
}
|
||||||
|
|
|
@ -143,7 +143,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
|
|
||||||
Directory.CreateDirectory(parentPath);
|
Directory.CreateDirectory(parentPath);
|
||||||
|
|
||||||
string text = string.Join("|", previouslyFailedImages.ToArray());
|
string text = string.Join("|", previouslyFailedImages);
|
||||||
File.WriteAllText(failHistoryPath, text);
|
File.WriteAllText(failHistoryPath, text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue