Skip to content

Commit

Permalink
Merge pull request #8 from SimonCropp/fix-if-indent
Browse files Browse the repository at this point in the history
fix if indent
  • Loading branch information
devlead authored Sep 24, 2024
2 parents 2c8266a + cb0638d commit bbb7bbd
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 bbb7bbd

Please sign in to comment.