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
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>
- Loading branch information