{"action":"created","issue":{"url":"https://api.github.com/repos/usetint/tint/issues/274","repository_url":"https://api.github.com/repos/usetint/tint","labels_url":"https://api.github.com/repos/usetint/tint/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/usetint/tint/issues/274/comments","events_url":"https://api.github.com/repos/usetint/tint/issues/274/events","html_url":"https://github.com/usetint/tint/issues/274","id":186522290,"number":274,"title":"Cannot open a YML file that has a root element of an array","user":{"login":"ericroberts","id":695547,"avatar_url":"https://avatars.githubusercontent.com/u/695547?v=3","gravatar_id":"","url":"https://api.github.com/users/ericroberts","html_url":"https://github.com/ericroberts","followers_url":"https://api.github.com/users/ericroberts/followers","following_url":"https://api.github.com/users/ericroberts/following{/other_user}","gists_url":"https://api.github.com/users/ericroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/ericroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericroberts/subscriptions","organizations_url":"https://api.github.com/users/ericroberts/orgs","repos_url":"https://api.github.com/users/ericroberts/repos","events_url":"https://api.github.com/users/ericroberts/events{/privacy}","received_events_url":"https://api.github.com/users/ericroberts/received_events","type":"User","site_admin":false},"labels":[{"id":410175080,"url":"https://api.github.com/repos/usetint/tint/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"ericroberts","id":695547,"avatar_url":"https://avatars.githubusercontent.com/u/695547?v=3","gravatar_id":"","url":"https://api.github.com/users/ericroberts","html_url":"https://github.com/ericroberts","followers_url":"https://api.github.com/users/ericroberts/followers","following_url":"https://api.github.com/users/ericroberts/following{/other_user}","gists_url":"https://api.github.com/users/ericroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/ericroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericroberts/subscriptions","organizations_url":"https://api.github.com/users/ericroberts/orgs","repos_url":"https://api.github.com/users/ericroberts/repos","events_url":"https://api.github.com/users/ericroberts/events{/privacy}","received_events_url":"https://api.github.com/users/ericroberts/received_events","type":"User","site_admin":false},"assignees":[{"login":"ericroberts","id":695547,"avatar_url":"https://avatars.githubusercontent.com/u/695547?v=3","gravatar_id":"","url":"https://api.github.com/users/ericroberts","html_url":"https://github.com/ericroberts","followers_url":"https://api.github.com/users/ericroberts/followers","following_url":"https://api.github.com/users/ericroberts/following{/other_user}","gists_url":"https://api.github.com/users/ericroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/ericroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericroberts/subscriptions","organizations_url":"https://api.github.com/users/ericroberts/orgs","repos_url":"https://api.github.com/users/ericroberts/repos","events_url":"https://api.github.com/users/ericroberts/events{/privacy}","received_events_url":"https://api.github.com/users/ericroberts/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/usetint/tint/milestones/3","html_url":"https://github.com/usetint/tint/milestones/Advanced%20editing","labels_url":"https://api.github.com/repos/usetint/tint/milestones/3/labels","id":1892090,"number":3,"title":"Advanced editing","description":"","creator":{"login":"ericroberts","id":695547,"avatar_url":"https://avatars.githubusercontent.com/u/695547?v=3","gravatar_id":"","url":"https://api.github.com/users/ericroberts","html_url":"https://github.com/ericroberts","followers_url":"https://api.github.com/users/ericroberts/followers","following_url":"https://api.github.com/users/ericroberts/following{/other_user}","gists_url":"https://api.github.com/users/ericroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/ericroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericroberts/subscriptions","organizations_url":"https://api.github.com/users/ericroberts/orgs","repos_url":"https://api.github.com/users/ericroberts/repos","events_url":"https://api.github.com/users/ericroberts/events{/privacy}","received_events_url":"https://api.github.com/users/ericroberts/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":33,"state":"open","created_at":"2016-07-19T14:09:45Z","updated_at":"2016-11-01T21:10:16Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-11-01T12:26:52Z","updated_at":"2016-11-01T22:38:49Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/usetint/tint/issues/comments/257720407","html_url":"https://github.com/usetint/tint/issues/274#issuecomment-257720407","issue_url":"https://api.github.com/repos/usetint/tint/issues/274","id":257720407,"user":{"login":"ericroberts","id":695547,"avatar_url":"https://avatars.githubusercontent.com/u/695547?v=3","gravatar_id":"","url":"https://api.github.com/users/ericroberts","html_url":"https://github.com/ericroberts","followers_url":"https://api.github.com/users/ericroberts/followers","following_url":"https://api.github.com/users/ericroberts/following{/other_user}","gists_url":"https://api.github.com/users/ericroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/ericroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericroberts/subscriptions","organizations_url":"https://api.github.com/users/ericroberts/orgs","repos_url":"https://api.github.com/users/ericroberts/repos","events_url":"https://api.github.com/users/ericroberts/events{/privacy}","received_events_url":"https://api.github.com/users/ericroberts/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T22:38:49Z","updated_at":"2016-11-01T22:38:49Z","body":"@singpolyma I've determined the cause of this issue. It is due to the recent changes that parsed frontmatter from the filename.\r\n\r\nWhat happens currently is that the code extracts frontmatter from the filename (a date for example) and creates a hash of that data. It then tries to merge in data parsed from the file itself, which is an array, and so the error happens.\r\n\r\nIf there were no frontmatter parsed from the filename, the issue is simple, just return the data parsed from the document. But it's not immediately obvious to me what we should do when there is frontmatter from the filename and the contents of the file is an array. Any thoughts?"}}
{"actor":{"display_login":"ericroberts"}}