ci: remove goconst

This commit is contained in:
Henrique Dias
2025-06-27 08:03:11 +02:00
parent 1d494ff315
commit 8b8fb3343f
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
}