{"action":"created","issue":{"url":"https://api.github.com/repos/danger/danger/issues/635","repository_url":"https://api.github.com/repos/danger/danger","labels_url":"https://api.github.com/repos/danger/danger/issues/635/labels{/name}","comments_url":"https://api.github.com/repos/danger/danger/issues/635/comments","events_url":"https://api.github.com/repos/danger/danger/issues/635/events","html_url":"https://github.com/danger/danger/pull/635","id":182107666,"number":635,"title":"EnvironmentManager constructor forwards self.ui, not ui method arg","user":{"login":"notjosh","id":33126,"avatar_url":"https://avatars.githubusercontent.com/u/33126?v=3","gravatar_id":"","url":"https://api.github.com/users/notjosh","html_url":"https://github.com/notjosh","followers_url":"https://api.github.com/users/notjosh/followers","following_url":"https://api.github.com/users/notjosh/following{/other_user}","gists_url":"https://api.github.com/users/notjosh/gists{/gist_id}","starred_url":"https://api.github.com/users/notjosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notjosh/subscriptions","organizations_url":"https://api.github.com/users/notjosh/orgs","repos_url":"https://api.github.com/users/notjosh/repos","events_url":"https://api.github.com/users/notjosh/events{/privacy}","received_events_url":"https://api.github.com/users/notjosh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-10T20:29:37Z","updated_at":"2016-10-11T09:29:30Z","closed_at":"2016-10-11T09:29:13Z","pull_request":{"url":"https://api.github.com/repos/danger/danger/pulls/635","html_url":"https://github.com/danger/danger/pull/635","diff_url":"https://github.com/danger/danger/pull/635.diff","patch_url":"https://github.com/danger/danger/pull/635.patch"},"body":"I stumbled on this over at https://github.com/danger/danger-plugin-template/pull/10#issuecomment-252731193 when `EnvironmentManager` was trying to output errors to screen, but had no `ui` to output with. Not ideal.\r\n\r\nThis PR fixes that.\r\n\r\nI couldn't find a particularly friendly way to test this. The bug is obvious enough, but preventing regressions would be nice. Passing in bad `env` params meant that it would fail to trigger the bug (it would bail beforehand), so I'm not sure :)"},"comment":{"url":"https://api.github.com/repos/danger/danger/issues/comments/252859467","html_url":"https://github.com/danger/danger/pull/635#issuecomment-252859467","issue_url":"https://api.github.com/repos/danger/danger/issues/635","id":252859467,"user":{"login":"JuanitoFatas","id":1000669,"avatar_url":"https://avatars.githubusercontent.com/u/1000669?v=3","gravatar_id":"","url":"https://api.github.com/users/JuanitoFatas","html_url":"https://github.com/JuanitoFatas","followers_url":"https://api.github.com/users/JuanitoFatas/followers","following_url":"https://api.github.com/users/JuanitoFatas/following{/other_user}","gists_url":"https://api.github.com/users/JuanitoFatas/gists{/gist_id}","starred_url":"https://api.github.com/users/JuanitoFatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuanitoFatas/subscriptions","organizations_url":"https://api.github.com/users/JuanitoFatas/orgs","repos_url":"https://api.github.com/users/JuanitoFatas/repos","events_url":"https://api.github.com/users/JuanitoFatas/events{/privacy}","received_events_url":"https://api.github.com/users/JuanitoFatas/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T09:29:29Z","updated_at":"2016-10-11T09:29:29Z","body":"@notjosh Awesome, thanks for your contribution!!! <3\r\n\r\n"}}
{"actor":{"display_login":"JuanitoFatas"}}