{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/6678","repository_url":"https://api.github.com/repos/ember-cli/ember-cli","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/6678/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/6678/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/6678/events","html_url":"https://github.com/ember-cli/ember-cli/pull/6678","id":200802692,"number":6678,"title":"Avoid error upon registering a heimdall monitor twice.","user":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars.githubusercontent.com/u/12637?v=3","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-14T13:13:11Z","updated_at":"2017-01-14T13:30:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ember-cli/ember-cli/pulls/6678","html_url":"https://github.com/ember-cli/ember-cli/pull/6678","diff_url":"https://github.com/ember-cli/ember-cli/pull/6678.diff","patch_url":"https://github.com/ember-cli/ember-cli/pull/6678.patch"},"body":"`heimdall` throws an error if the same monitor name is registered twice. In normal operations with npm@3 / yarn this is not an issue (because only one version of this file is required). However, when working in a libary where you are `npm link ember-cli` it is possible to actually end up with this file being evaluated twice (once from the `npm link` and another from the source location).\r\n\r\nThis change simply checks if a monitor has already been registered with a given name, and does nothing."},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/272624280","html_url":"https://github.com/ember-cli/ember-cli/pull/6678#issuecomment-272624280","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/6678","id":272624280,"user":{"login":"homu","id":10212162,"avatar_url":"https://avatars.githubusercontent.com/u/10212162?v=3","gravatar_id":"","url":"https://api.github.com/users/homu","html_url":"https://github.com/homu","followers_url":"https://api.github.com/users/homu/followers","following_url":"https://api.github.com/users/homu/following{/other_user}","gists_url":"https://api.github.com/users/homu/gists{/gist_id}","starred_url":"https://api.github.com/users/homu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homu/subscriptions","organizations_url":"https://api.github.com/users/homu/orgs","repos_url":"https://api.github.com/users/homu/repos","events_url":"https://api.github.com/users/homu/events{/privacy}","received_events_url":"https://api.github.com/users/homu/received_events","type":"User","site_admin":false},"created_at":"2017-01-14T13:30:23Z","updated_at":"2017-01-14T13:30:23Z","body":":pushpin: Commit 8760766 has been approved by `rwjblue`\n\n<!-- @homu r=rwjblue 8760766d74c7ea9150f0260d8593cccb0192b376 -->"}}
{"actor":{"display_login":"homu"}}