Skip to content

Commit

Permalink
Merge pull request #488 from trheyi/main
Browse files Browse the repository at this point in the history
[add] neo content
  • Loading branch information
trheyi authored Oct 24, 2023
2 parents 944280d + ff74842 commit bfc7b69
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions neo/neo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfc7b69

Please sign in to comment.