We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e3cac2 commit a829da6Copy full SHA for a829da6
src/LinkDotNet.Blog.Web/Features/Admin/BlogPostEditor/Services/FileProcessor.cs
@@ -9,7 +9,7 @@ public class FileProcessor : IFileProcessor
9
public async Task<string> GetContentAsync(IBrowserFile file)
10
{
11
await using var stream = file.OpenReadStream();
12
- var reader = new StreamReader(stream);
+ using var reader = new StreamReader(stream);
13
return await reader.ReadToEndAsync();
14
}
15
-}
+}
0 commit comments