mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-01-23 02:35:10 +00:00
chore: upgrade golangci-lint to 1.51.1
This commit is contained in:
parent
fa95299df4
commit
10d628aecc
11 changed files with 307 additions and 719 deletions
|
|
@ -55,6 +55,7 @@ var checkableFields = []string{
|
|||
|
||||
// Clean cleans up a user and verifies if all its fields
|
||||
// are alright to be saved.
|
||||
//
|
||||
//nolint:gocyclo
|
||||
func (u *User) Clean(baseScope string, fields ...string) error {
|
||||
if len(fields) == 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue