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.
2 parents cd69aa5 + e374fac commit c450d40Copy full SHA for c450d40
src/Blobify/Commands/ArchiveCommand.cs
@@ -73,8 +73,8 @@ out var mimeType
73
case (HttpStatusCode.NotFound, _, _):
74
{
75
logger.LogInformation("Blob {File} not found, uploading...", targetPath.FullPath);
76
- using var stream = file.OpenRead();
77
- using var content = new StreamContent(stream) {
+ await using var stream = file.OpenRead();
+ using var content = new StreamContent(stream) {
78
Headers = {
79
ContentType = new MediaTypeHeaderValue(contentType),
80
ContentLength = file.Length,
0 commit comments