mirror of
https://github.com/rclone/rclone.git
synced 2026-12-02 21:55:59 -05:00
lib/transform: avoid empty charmap entry
This commit is contained in:
1 parent
16f1e08b73
commit
62a9727ab5
1 file changed
+1
-1
@@ -20,7 +20,7 @@ type CharmapChoices = fs.Enum[cmapChoices]
|
||||
type cmapChoices struct{}
|
||||
|
||||
func (cmapChoices) Choices() []string {
|
||||
choices := make([]string, 1)
|
||||
choices := []string{}
|
||||
i := 0
|
||||
for _, enc := range charmap.All {
|
||||
c, ok := enc.(*charmap.Charmap)
|
||||
|
||||
Reference in new issue
Block a user