Fix: Implement golangci-lint suggestions

This commit is contained in:
Mauro Regli authored and Mauro committed 2023-09-21 11:25:18 +02:00
1 parent f4a152ab22
commit ae61706a34
27 files changed
+51 -62

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ func (p *Progress) Flush() {
}
// InitBar starts progressbar for count bytes or count items
func (p *Progress) InitBar(count int64, isBytes bool, barType aptly.BarType) {
func (p *Progress) InitBar(count int64, isBytes bool, _ aptly.BarType) {
if p.bar != nil {
panic("bar already initialized")
}