Removed loose whitespace and one .ToArray() call.

This commit is contained in:
Erwin de Haan 2019-01-28 22:21:14 +01:00
parent 1d1d7e8a37
commit 838541b825
2 changed files with 1 additions and 2 deletions

View File

@ -209,7 +209,6 @@ namespace Emby.Server.Implementations.AppBase
protected void EnsureWriteAccess(string path)
{
var file = Path.Combine(path, Guid.NewGuid().ToString());
File.WriteAllText(file, string.Empty);
FileSystem.DeleteFile(file);
}

View File

@ -143,7 +143,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
Directory.CreateDirectory(parentPath);
string text = string.Join("|", previouslyFailedImages.ToArray());
string text = string.Join("|", previouslyFailedImages);
File.WriteAllText(failHistoryPath, text);
}