1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-03 03:56:18 -04:00
gitea/routers
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
..
api/v1 Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
common
install
private Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
utils
web Remove unnecassary calls to filepath.Join (#17608) 2021-11-15 14:02:53 +08:00
init.go tune sqlite3 message (#17601) 2021-11-09 13:55:24 -05:00