[add] neo content

This commit is contained in:
Max 2023-10-25 00:50:43 +08:00
parent c6c5784ffb
commit ff74842053

View file

@ -317,11 +317,7 @@ func (neo *DSL) write(msg *message.JSON, w io.Writer, ctx command.Context, messa
return nil return nil
} }
args := []interface{}{ctx, messages, msg} args := []interface{}{ctx, messages, msg, string(content)}
if msg.IsDone() {
args = append(args, string(content))
}
p, err := process.Of(neo.Write, args...) p, err := process.Of(neo.Write, args...)
if err != nil { if err != nil {
return err return err