build: bump golangci-lint to 2.1.6
This commit is contained in:
committed by
Henrique Dias
parent
da03728cd7
commit
1d494ff315
@@ -41,7 +41,7 @@ func tusPostHandler() handleFunc {
|
||||
}
|
||||
|
||||
fileFlags := os.O_CREATE | os.O_WRONLY
|
||||
if r.URL.Query().Get("override") == "true" {
|
||||
if r.URL.Query().Get("override") == "true" { //nolint:goconst
|
||||
fileFlags |= os.O_TRUNC
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user