mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-01-23 02:35:10 +00:00
ci: remove goconst
This commit is contained in:
parent
1d494ff315
commit
8b8fb3343f
6 changed files with 5 additions and 11 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue