ci: remove goconst

This commit is contained in:
Henrique Dias committed 2025-06-27 08:03:11 +02:00
1 parent 1d494ff315
commit 8b8fb3343f
6 files changed
+5 -11

No files matched your search

-1
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"
-2
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 {