0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 20:34:34 +01:00
gitea/routers/web
Gusted 253d9e4158
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>
2021-11-15 14:02:53 +08:00
..
admin Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
dev
events
explore Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
feed
org Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
repo Correctly handle failed migrations (#17575) 2021-11-13 19:28:50 +08:00
user Remove unnecassary calls to filepath.Join (#17608) 2021-11-15 14:02:53 +08:00
base.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00