Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #1083: Append a newline to ipfs id output. #2242

Merged
merged 1 commit into from
Jan 26, 2016
Merged

fix #1083: Append a newline to ipfs id output. #2242

merged 1 commit into from
Jan 26, 2016

Conversation

atomgardner
Copy link
Contributor

The JSON package developers reckon no trailing newline is a feature;
it allows marshalled JSON to be embedded inside more JSON.[0]

--
[0] https://golang.org/pkg/encoding/json/

License: MIT
Signed-off-by: Thomas Gardner tmg@fastmail.com

@whyrusleeping
Copy link
Member

LGTM

@rht
Copy link
Contributor

rht commented Jan 25, 2016

@tomgg there is ipfs dns output which requires a trailing newline (#2000 (comment)). It is your choice to fix all the newline issues once for all as well.

This fixes #1083, #2000.

N.B. The JSON package developers see no trailing newline as a feature;
it allows marshalled JSON to be embedded inside more JSON.[0]

--
[0] https://golang.org/pkg/encoding/json/

License: MIT
Signed-off-by: Thomas Gardner <tmg@fastmail.com>
@atomgardner
Copy link
Contributor Author

@rht: Done

whyrusleeping added a commit that referenced this pull request Jan 26, 2016
fix #1083: Append a newline to `ipfs id` output.
@whyrusleeping whyrusleeping merged commit 081c6d9 into ipfs:master Jan 26, 2016
@atomgardner atomgardner deleted the issue1083 branch January 27, 2016 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants