Unlambda textContent call

textContent already has the right function signature, no need to wrap it.
This commit is contained in:
Christian Muehlhaeuser 2019-08-08 09:24:01 +00:00
parent 8a48862adc
commit 08b7fb32b1

View file

@ -44,9 +44,7 @@ func cmdStream(c *cli.Context) error {
"nl": func(s string) string {
return s + "\n"
},
"text": func(s string) string {
return textContent(s)
},
"text": textContent,
}).Parse(asFormat)
if err != nil {
return err