Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When dumping trim the standard suffices instead of a random suffix (g…
…o-gitea#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 go-gitea#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>
- Loading branch information