Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnewhall committed Jul 18, 2024
1 parent 9c284db commit bfc064e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/unpackerr/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (u *Unpackerr) updateHistory(item string) {

u.History.Items[0] = item

//nolint:intrange // Do not process 0; this isn't an `intrange`.
// Do not process 0; this isn't an `intrange`.
for idx := len(u.History.Items) - 1; idx > 0; idx-- {
// u.History.Items is a slice with a set (identical) length and capacity.
switch u.History.Items[idx] = u.History.Items[idx-1]; {
Expand Down

0 comments on commit bfc064e

Please sign in to comment.