mirror of
https://github.com/restic/restic.git
synced 2025-08-12 11:57:56 +00:00
Unindent else block after if block ending with a return statement
This commit is contained in:
@@ -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}
|
||||
|
Reference in New Issue
Block a user