[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
}
args := []interface{}{ctx, messages, msg}
if msg.IsDone() {
args = append(args, string(content))
}
args := []interface{}{ctx, messages, msg, string(content)}
p, err := process.Of(neo.Write, args...)
if err != nil {
return err