mirror of
https://github.com/rclone/rclone.git
synced 2025-06-21 04:08:02 +02:00
lib/transform: avoid empty charmap entry
This commit is contained in:
parent
16f1e08b73
commit
62a9727ab5
@ -20,7 +20,7 @@ type CharmapChoices = fs.Enum[cmapChoices]
|
|||||||
type cmapChoices struct{}
|
type cmapChoices struct{}
|
||||||
|
|
||||||
func (cmapChoices) Choices() []string {
|
func (cmapChoices) Choices() []string {
|
||||||
choices := make([]string, 1)
|
choices := []string{}
|
||||||
i := 0
|
i := 0
|
||||||
for _, enc := range charmap.All {
|
for _, enc := range charmap.All {
|
||||||
c, ok := enc.(*charmap.Charmap)
|
c, ok := enc.(*charmap.Charmap)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user