diff --git a/.golangci.yaml b/.golangci.yaml index 760c60bec3..6ce719aac4 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,13 +1,14 @@ linters: enable-all: true disable: - - exhaustivestruct - depguard + - execinquery # deprecated since v1.58.0 - funlen - gci - - goconst - gochecknoglobals + - goconst - gofumpt - gomnd - lll + - mnd # some magic numbers are acceptable. - nlreturn diff --git a/cmd/main.go b/cmd/main.go index cded6be079..c64ae407b5 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -159,6 +159,7 @@ func copyStaticFiles(staticPath string, destinationPath string) error { if err != nil { return fmt.Errorf("error creating directory %q: %w", destinationPath, err) } + return nil }