diff options
author | zeripath <art27@cantab.net> | 2022-04-20 19:53:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 20:53:34 +0200 |
commit | 1e319ba41a3d5362d253fca540b13b2ee92124c8 (patch) | |
tree | a05ea4f88de381933295ad1611bbfe474cfd9ae3 /integrations/api_issue_label_test.go | |
parent | a7f0ce620774be861f11b57d426ab59e27e4171a (diff) | |
download | gitea-1e319ba41a3d5362d253fca540b13b2ee92124c8.tar.gz gitea-1e319ba41a3d5362d253fca540b13b2ee92124c8.zip |
When dumping trim the standard suffices instead of a random suffix (#19440)
* When dumping trim the standard suffices instead of a random suffix
Instead of using the `path.Ext()` to trim the last "extension" suffix, just iterate
through the supported suffices and trim those.
Fix #19424
Signed-off-by: Andrew Thornton <art27@cantab.net>
* fix enum with to have correct supported types only
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'integrations/api_issue_label_test.go')
0 files changed, 0 insertions, 0 deletions