Skip to content

Commit

Permalink
Add newline to end of ipfs object put text output.
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Nick Hamann <nick@wabbo.org>
  • Loading branch information
Nick Hamann committed Nov 23, 2015
1 parent c9d118c commit 7cc81a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commands/object.go
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ and then run
Marshalers: cmds.MarshalerMap{
cmds.Text: func(res cmds.Response) (io.Reader, error) {
object := res.Output().(*Object)
return strings.NewReader("added " + object.Hash), nil
return strings.NewReader("added " + object.Hash + "\n"), nil
},
},
Type: Object{},
Expand Down

0 comments on commit 7cc81a9

Please sign in to comment.