diff options
author | Gusted <williamzijl7@hotmail.com> | 2021-11-15 06:02:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 14:02:53 +0800 |
commit | 253d9e415813e90543cca8d94112c9e4238d39a4 (patch) | |
tree | c60e0dc33e437dfbd4855b9c0b5939351451720f /options | |
parent | 562785ef4ea8ea4b24da726a4fbf515358ee7084 (diff) | |
download | gitea-253d9e415813e90543cca8d94112c9e4238d39a4.tar.gz gitea-253d9e415813e90543cca8d94112c9e4238d39a4.zip |
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>
Diffstat (limited to 'options')
0 files changed, 0 insertions, 0 deletions