Deal with fixme in Umbraco.Core

This commit is contained in:
Stephan
2019-01-21 15:39:19 +01:00
parent 735c2ccfd7
commit 4a0b969777
114 changed files with 186 additions and 693 deletions

View File

@@ -153,7 +153,7 @@ namespace Umbraco.Core.IO
if (directory == null) throw new InvalidOperationException("Could not get directory.");
Directory.CreateDirectory(directory); // ensure it exists
if (stream.CanSeek) // fixme - what else?
if (stream.CanSeek) // todo - what if we cannot?
stream.Seek(0, 0);
using (var destination = (Stream) File.Create(fullPath))