mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04: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 New Issue
Block a user