Unlambda textContent call
textContent already has the right function signature, no need to wrap it.
This commit is contained in:
parent
34e64bb423
commit
24cdbe8c3d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user