mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-05 04:36:07 +00:00
fix: lint issues and disable predeclared linter (#614)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user