{"action":"created","issue":{"url":"https://api.github.com/repos/gweax/grunt-sync-json/issues/8","labels_url":"https://api.github.com/repos/gweax/grunt-sync-json/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/gweax/grunt-sync-json/issues/8/comments","events_url":"https://api.github.com/repos/gweax/grunt-sync-json/issues/8/events","html_url":"https://github.com/gweax/grunt-sync-json/issues/8","id":59952272,"number":8,"title":"The sync should not remove the newline at end of file","user":{"login":"rdoursenaud","id":1210367,"avatar_url":"https://avatars.githubusercontent.com/u/1210367?v=3","gravatar_id":"","url":"https://api.github.com/users/rdoursenaud","html_url":"https://github.com/rdoursenaud","followers_url":"https://api.github.com/users/rdoursenaud/followers","following_url":"https://api.github.com/users/rdoursenaud/following{/other_user}","gists_url":"https://api.github.com/users/rdoursenaud/gists{/gist_id}","starred_url":"https://api.github.com/users/rdoursenaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdoursenaud/subscriptions","organizations_url":"https://api.github.com/users/rdoursenaud/orgs","repos_url":"https://api.github.com/users/rdoursenaud/repos","events_url":"https://api.github.com/users/rdoursenaud/events{/privacy}","received_events_url":"https://api.github.com/users/rdoursenaud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gweax/grunt-sync-json/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-05T13:38:08Z","updated_at":"2015-03-10T21:15:35Z","closed_at":"2015-03-10T21:07:58Z","body":"Having a newline at end of file is considered good practice.\r\nsync-json removes it from the target for whatever reason. It should not."},"comment":{"url":"https://api.github.com/repos/gweax/grunt-sync-json/issues/comments/78149973","html_url":"https://github.com/gweax/grunt-sync-json/issues/8#issuecomment-78149973","issue_url":"https://api.github.com/repos/gweax/grunt-sync-json/issues/8","id":78149973,"user":{"login":"gweax","id":483460,"avatar_url":"https://avatars.githubusercontent.com/u/483460?v=3","gravatar_id":"","url":"https://api.github.com/users/gweax","html_url":"https://github.com/gweax","followers_url":"https://api.github.com/users/gweax/followers","following_url":"https://api.github.com/users/gweax/following{/other_user}","gists_url":"https://api.github.com/users/gweax/gists{/gist_id}","starred_url":"https://api.github.com/users/gweax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gweax/subscriptions","organizations_url":"https://api.github.com/users/gweax/orgs","repos_url":"https://api.github.com/users/gweax/repos","events_url":"https://api.github.com/users/gweax/events{/privacy}","received_events_url":"https://api.github.com/users/gweax/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T21:15:35Z","updated_at":"2015-03-10T21:15:35Z","body":"Voilà! I added an option to end the file with a newline, defaulting to true. It's in version 0.4.0."}}