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

BREAKING: Remove support for setting spaces for JSON writing #402

Merged
merged 1 commit into from
Apr 10, 2017

Conversation

RyanZim
Copy link
Collaborator

@RyanZim RyanZim commented Apr 8, 2017

Resolves #401

Note that this PR is against the new develop branch, which will be used for v3.0.0

@RyanZim RyanZim mentioned this pull request Apr 8, 2017
@@ -2,15 +2,21 @@

const jsonFile = require('jsonfile')

function write () {
jsonFile.writeFile.apply({ spaces: 2 }, arguments)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to me it should follow the jsonfile default of null spaces. Don't you think?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would definitely be simpler to do it that way; if no one's opposed, I'll change this.

@RyanZim
Copy link
Collaborator Author

RyanZim commented Apr 10, 2017

@jprichardson Fixed.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 86.203% when pulling c0f56ee on spaces into b549b04 on develop.

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