jprichardson / node-jsonfile

Easily read/write JSON files.
MIT License
1.2k stars 321 forks source link

writeFileSync does not seem to be writing correctly #63

Closed LouiseMcMahon closed 7 years ago

LouiseMcMahon commented 8 years ago

I'm not 100% sure on the cause seems to be some encoding issue as files written by it on node 6.8.0 and latest version are appeared to be empty to node and notepad++, but Webstorm can read them fine.

This is on windows with node 6.8.0 and latest jsonfile.

jprichardson commented 8 years ago

Do you have a snippet to reproduce this issue? Thanks.

RyanZim commented 7 years ago

@LouiseMcMahon ping?

LouiseMcMahon commented 7 years ago

Feel free to close this I've got no idea how I solved this now sorry

On 25 April 2017 15:09:26 BST, Ryan Zimmerman notifications@github.com wrote:

@LouiseMcMahon ping?

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/jprichardson/node-jsonfile/issues/63#issuecomment-297042067

-- Sent from my Android device with K-9 Mail. Please excuse my brevity.