ci: remove goconst

This commit is contained in:
Henrique Dias 2025-06-27 08:03:11 +02:00
parent 1d494ff315
commit 8b8fb3343f
No known key found for this signature in database
6 changed files with 5 additions and 11 deletions

View file

@ -217,7 +217,6 @@ func (i *FileInfo) RealPath() string {
return i.Path
}
//nolint:goconst
func (i *FileInfo) detectType(modify, saveContent, readHeader bool) error {
if IsNamedPipe(i.Mode) {
i.Type = "blob"

View file

@ -16,8 +16,6 @@ type Listing struct {
}
// ApplySort applies the sort order using .Order and .Sort
//
//nolint:goconst
func (l Listing) ApplySort() {
// Check '.Order' to know how to sort
if !l.Sorting.Asc {