fix: lint issues and disable predeclared linter (#614)

This commit is contained in:
Ayman Bagabas
2024-09-12 14:33:07 -03:00
committed by GitHub
parent c1199d7be6
commit 9589cbc16c
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -377,7 +377,7 @@ func (m Model) View() string {
var symlinkPath string
info, _ := f.Info()
isSymlink := info.Mode()&os.ModeSymlink != 0
size := strings.Replace(humanize.Bytes(uint64(info.Size())), " ", "", 1)
size := strings.Replace(humanize.Bytes(uint64(info.Size())), " ", "", 1) //nolint:gosec
name := f.Name()
if isSymlink {