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: add newline at the end of package.json after update #14

Merged
merged 2 commits into from
Apr 29, 2024

Conversation

ndom91
Copy link
Contributor

@ndom91 ndom91 commented Apr 26, 2024

This was the previous unaltered output from fs.writeFile(). Notice the last missing $, $ being the symbol for new-line (\n) in the cat -e output.

image

  • Add missing \n to the end of the stringified package.json to be written in update()
  • Remove utf-8 third argument as its the default

@balazsorban44 balazsorban44 merged commit a530ea8 into balazsorban44:main Apr 29, 2024
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.

2 participants