Skip to content

Commit

Permalink
DisposeAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Sep 24, 2024
1 parent a7a1a7b commit 437a786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Blobify/Commands/ArchiveCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ out var mimeType
case (HttpStatusCode.NotFound, _, _):
{
logger.LogInformation("Blob {File} not found, uploading...", targetPath.FullPath);
using var stream = file.OpenRead();
await using var stream = file.OpenRead();
using var content = new StreamContent(stream) {
Headers = {
ContentType = new MediaTypeHeaderValue(contentType),
Expand Down

0 comments on commit 437a786

Please sign in to comment.