diff --git a/commands/files/is_hidden.go b/commands/files/is_hidden.go index 0aeb6ba516e..b0360685b0d 100644 --- a/commands/files/is_hidden.go +++ b/commands/files/is_hidden.go @@ -12,8 +12,8 @@ func IsHidden(f File) bool { fName := filepath.Base(f.FileName()) if strings.HasPrefix(fName, ".") && len(fName) > 1 { - return true, nil + return true } - return false, nil + return false }