lnd.xprv/cmd/lncli
Olaoluwa Osuntokun c21cbc5021
cmd/lncli: append a new-line when using encoding/json to print resp
It was noticed by 21E14 on Github that when we fall back to using
golang’s encoding/json lib in special cases when printing the proto
responses in JSON form, the value printed lacked a new-line at the end.
This would cause the output to flow into bash prompts.

This issue has been fixed by simply appending a newline character to
the end of the formatted JSON output.

Fixes #160.
2017-03-16 12:06:17 -07:00
..
commands.go cmd/lncli: append a new-line when using encoding/json to print resp 2017-03-16 12:06:17 -07:00
main.go lnd: fix latest goclean.sh lint warning 2017-03-13 16:30:23 -07:00