Unindent else block after if block ending with a return statement

This commit is contained in:
Michael Eischer committed 2020-09-05 10:07:16 +02:00
1 parent 4784540f04
commit dc31529fc3
2 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -230,10 +230,10 @@ func (b *Backup) CompleteItem(item string, previous, current *restic.Node, s arc
done: true,
}
return
} else {
b.summary.ProcessedBytes += current.Size
}
b.summary.ProcessedBytes += current.Size
switch current.Type {
case "file":
b.processedCh <- counter{Files: 1}