{"action":"created","issue":{"url":"https://api.github.com/repos/wireapp/wire-webapp/issues/168","repository_url":"https://api.github.com/repos/wireapp/wire-webapp","labels_url":"https://api.github.com/repos/wireapp/wire-webapp/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/wireapp/wire-webapp/issues/168/comments","events_url":"https://api.github.com/repos/wireapp/wire-webapp/issues/168/events","html_url":"https://github.com/wireapp/wire-webapp/pull/168","id":175108085,"number":168,"title":"Removing redundant 'else'","user":{"login":"lipis","id":125676,"avatar_url":"https://avatars.githubusercontent.com/u/125676?v=3","gravatar_id":"","url":"https://api.github.com/users/lipis","html_url":"https://github.com/lipis","followers_url":"https://api.github.com/users/lipis/followers","following_url":"https://api.github.com/users/lipis/following{/other_user}","gists_url":"https://api.github.com/users/lipis/gists{/gist_id}","starred_url":"https://api.github.com/users/lipis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipis/subscriptions","organizations_url":"https://api.github.com/users/lipis/orgs","repos_url":"https://api.github.com/users/lipis/repos","events_url":"https://api.github.com/users/lipis/events{/privacy}","received_events_url":"https://api.github.com/users/lipis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-05T17:19:29Z","updated_at":"2016-09-06T07:49:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wireapp/wire-webapp/pulls/168","html_url":"https://github.com/wireapp/wire-webapp/pull/168","diff_url":"https://github.com/wireapp/wire-webapp/pull/168.diff","patch_url":"https://github.com/wireapp/wire-webapp/pull/168.patch"},"body":"In all those cases the `else` is redundant plus the extra indentation..\r\n\r\nhttp://stackoverflow.com/a/3261855/8418\r\n\r\nDidn't find anything for CoffeeLint.. http://eslint.org/docs/rules/no-else-return\r\n\r\nSearch query used to find them all :)\r\n```\r\nreturn (.+)\\n( +)else\\n\r\n```\r\n\r\nIn some cases I added an extra empty line.. in some not :) What do you guys think?"},"comment":{"url":"https://api.github.com/repos/wireapp/wire-webapp/issues/comments/244875229","html_url":"https://github.com/wireapp/wire-webapp/pull/168#issuecomment-244875229","issue_url":"https://api.github.com/repos/wireapp/wire-webapp/issues/168","id":244875229,"user":{"login":"lipis","id":125676,"avatar_url":"https://avatars.githubusercontent.com/u/125676?v=3","gravatar_id":"","url":"https://api.github.com/users/lipis","html_url":"https://github.com/lipis","followers_url":"https://api.github.com/users/lipis/followers","following_url":"https://api.github.com/users/lipis/following{/other_user}","gists_url":"https://api.github.com/users/lipis/gists{/gist_id}","starred_url":"https://api.github.com/users/lipis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipis/subscriptions","organizations_url":"https://api.github.com/users/lipis/orgs","repos_url":"https://api.github.com/users/lipis/repos","events_url":"https://api.github.com/users/lipis/events{/privacy}","received_events_url":"https://api.github.com/users/lipis/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T07:49:23Z","updated_at":"2016-09-06T07:49:23Z","body":"Tests were nice in this case.."}}
{"actor":{"display_login":"lipis"}}