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

Indent level not preserved after re-enabling postinstall script #10

Closed
chimericdream opened this issue Nov 9, 2020 · 1 comment
Closed

Comments

@chimericdream
Copy link

In my projects (both personal and work), I have my indentation level set to 4 spaces. However, it looks like this script is hard-coded to write the package.json file out with 2 spaces. It would be nice if it detected the indentation level automatically so I didn't have to add git reset head --hard to the postpublish script along with pinst --enable.

Thanks!

@typicode
Copy link
Owner

Hi @chimericdream,

I've published a new version, should be good.

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

No branches or pull requests

2 participants