Skip to content

Commit

Permalink
fix if indent
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Sep 24, 2024
1 parent a7a1a7b commit cb0638d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Blobify/Commands/ArchiveCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ out var mimeType
switch (await tokenService.HeadAsync(settings.AzureTenantId, targetUri))
{
case (HttpStatusCode.OK, _, byte[] md5Hash):
if (md5Hash.SequenceEqual(hash.ComputedHash))
if (md5Hash.SequenceEqual(hash.ComputedHash))
{
logger.LogInformation("Blob {File} found and hash match deleting...", targetPath.FullPath);
file.Delete();
Expand All @@ -120,6 +120,7 @@ out var mimeType
{
throw new Exception($"Blob {targetPath.FullPath} found blob but hash mismatch, won't delete.");
}

return;
}
}
Expand Down

0 comments on commit cb0638d

Please sign in to comment.