Unindent else block after if block ending with a return statement

This commit is contained in:
Michael Eischer
2020-07-28 22:19:21 +02:00
parent 4784540f04
commit dc31529fc3
2 changed files with 7 additions and 7 deletions

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}