ci: remove goconst

This commit is contained in:
Henrique Dias 2025-06-27 08:03:11 +02:00
parent 1d494ff315
commit 8b8fb3343f
No known key found for this signature in database
6 changed files with 5 additions and 11 deletions

View file

@ -41,7 +41,7 @@ func tusPostHandler() handleFunc {
}
fileFlags := os.O_CREATE | os.O_WRONLY
if r.URL.Query().Get("override") == "true" { //nolint:goconst
if r.URL.Query().Get("override") == "true" {
fileFlags |= os.O_TRUNC
}