{"action":"created","issue":{"url":"https://api.github.com/repos/aymericbeaumet/metalsmith-concat/issues/27","repository_url":"https://api.github.com/repos/aymericbeaumet/metalsmith-concat","labels_url":"https://api.github.com/repos/aymericbeaumet/metalsmith-concat/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/aymericbeaumet/metalsmith-concat/issues/27/comments","events_url":"https://api.github.com/repos/aymericbeaumet/metalsmith-concat/issues/27/events","html_url":"https://github.com/aymericbeaumet/metalsmith-concat/issues/27","id":159022325,"number":27,"title":"writing files with strings vs Buffers?","user":{"login":"kenhoff","id":1664726,"avatar_url":"https://avatars.githubusercontent.com/u/1664726?v=3","gravatar_id":"","url":"https://api.github.com/users/kenhoff","html_url":"https://github.com/kenhoff","followers_url":"https://api.github.com/users/kenhoff/followers","following_url":"https://api.github.com/users/kenhoff/following{/other_user}","gists_url":"https://api.github.com/users/kenhoff/gists{/gist_id}","starred_url":"https://api.github.com/users/kenhoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenhoff/subscriptions","organizations_url":"https://api.github.com/users/kenhoff/orgs","repos_url":"https://api.github.com/users/kenhoff/repos","events_url":"https://api.github.com/users/kenhoff/events{/privacy}","received_events_url":"https://api.github.com/users/kenhoff/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-07T20:55:06Z","updated_at":"2016-06-10T08:58:24Z","closed_at":"2016-06-10T08:57:26Z","body":"Hey @aymericbeaumet - I was passing some `metalsmith-concat`enated files to `metalsmith-layouts`, and nothing was getting generated. \r\n\r\nTurns out that `metalsmith-layouts` was silently failing (which is a separate issue), because it was expecting a utf-8 encoded Buffer, but the contents of the newly `metalsmith-concat`enated file was a string.\r\n\r\nJust wanted to check here and see, is that expected? My experience with Metalsmith is that file contents are stored as Buffers, and it seems like `metalsmith-concat` is spitting out file contents as strings. \r\n\r\nIf this is intended, no worries, and if not, happy to take a whack at it and send a PR your way, just let me know.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/aymericbeaumet/metalsmith-concat/issues/comments/225128755","html_url":"https://github.com/aymericbeaumet/metalsmith-concat/issues/27#issuecomment-225128755","issue_url":"https://api.github.com/repos/aymericbeaumet/metalsmith-concat/issues/27","id":225128755,"user":{"login":"aymericbeaumet","id":569243,"avatar_url":"https://avatars.githubusercontent.com/u/569243?v=3","gravatar_id":"","url":"https://api.github.com/users/aymericbeaumet","html_url":"https://github.com/aymericbeaumet","followers_url":"https://api.github.com/users/aymericbeaumet/followers","following_url":"https://api.github.com/users/aymericbeaumet/following{/other_user}","gists_url":"https://api.github.com/users/aymericbeaumet/gists{/gist_id}","starred_url":"https://api.github.com/users/aymericbeaumet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aymericbeaumet/subscriptions","organizations_url":"https://api.github.com/users/aymericbeaumet/orgs","repos_url":"https://api.github.com/users/aymericbeaumet/repos","events_url":"https://api.github.com/users/aymericbeaumet/events{/privacy}","received_events_url":"https://api.github.com/users/aymericbeaumet/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T08:58:24Z","updated_at":"2016-06-10T08:58:24Z","body":"Thanks for reporting 👍 Fixed since `6.0.0`"}}
{"actor":{"display_login":"aymericbeaumet"}}