From ff74842053f247ade1bc7dcc83ed2d9124e75db4 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 25 Oct 2023 00:50:43 +0800 Subject: [PATCH] [add] neo content --- neo/neo.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/neo/neo.go b/neo/neo.go index eb284122..fa504d84 100644 --- a/neo/neo.go +++ b/neo/neo.go @@ -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