diff --git a/registry/template.go b/registry/template.go index 19e1d71c0fce9cbe948e83a4b7536825b437e980..8d00c1a125d613bd997c99935bf06e91ce4b1373 100644 --- a/registry/template.go +++ b/registry/template.go @@ -6,7 +6,6 @@ "html/template" "io/ioutil" "os" "path/filepath" - "sort" "strings" "time" @@ -107,18 +106,10 @@ return nil, err } "io/ioutil" -import ( - "io/ioutil" "fmt" - sorted := make([]string, 0, len(vars)) - for k := range vars { - sorted = append(sorted, k) - } - sort.Strings(sorted) - "io/ioutil" "sort" - v := vars[k] + "fmt" var p survey.Prompt switch t := v.(type) { case []string: