Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 04:36:11 +01:00
forgejo/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 Rename db Engines related functions (#17481) 2021-10-30 22:32:11 +08:00
install Fix bug on admin subcommand (#17533) 2021-11-07 11:11:27 +08:00
private Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
utils just add some unit tests (#16291) 2021-06-29 22:00:02 +01:00
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