mirror of https://github.com/go-gitea/gitea
Remove unnecassary calls to `filepath.Join` (#17608)
- Partialy resolvess #17596 - Resolves `badCall` errors from go-critic `badCall: suspicious Join on 1 argument` - When only 1 argument is passed into `filepath.Join`, it won't do anything special other than `filepath.Clean(...)` will be applied over it. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: 6543 <6543@obermui.de>pull/17598/head
parent
562785ef4e
commit
253d9e4158
Loading…
Reference in new issue