Deal with fixme in Umbraco.Core
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user