1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00
forgejo/services
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
..
agit Return correct error response for agit force-push (#16989) 2021-09-08 22:20:55 +02:00
archiver Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
attachment Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
auth Minor readability patch. (#17627) 2021-11-12 18:27:18 -05:00
comments Save and view issue/comment content history (#16909) 2021-10-10 18:40:03 -04:00
externalaccount Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
forms Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
gitdiff Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
issue Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
lfs Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
mailer Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
mirror Handle broken references in mirror sync (#17013) 2021-10-21 16:45:25 +08:00
pull Remove unnecassary calls to filepath.Join (#17608) 2021-11-15 14:02:53 +08:00
release Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
repository Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
webhook Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
wiki Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00