{"action":"created","issue":{"url":"https://api.github.com/repos/prettier/prettier/issues/4246","repository_url":"https://api.github.com/repos/prettier/prettier","labels_url":"https://api.github.com/repos/prettier/prettier/issues/4246/labels{/name}","comments_url":"https://api.github.com/repos/prettier/prettier/issues/4246/comments","events_url":"https://api.github.com/repos/prettier/prettier/issues/4246/events","html_url":"https://github.com/prettier/prettier/issues/4246","id":310770158,"number":4246,"title":"Prettier replaces brackets?","user":{"login":"chilander1","id":10353288,"avatar_url":"https://avatars1.githubusercontent.com/u/10353288?v=4","gravatar_id":"","url":"https://api.github.com/users/chilander1","html_url":"https://github.com/chilander1","followers_url":"https://api.github.com/users/chilander1/followers","following_url":"https://api.github.com/users/chilander1/following{/other_user}","gists_url":"https://api.github.com/users/chilander1/gists{/gist_id}","starred_url":"https://api.github.com/users/chilander1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chilander1/subscriptions","organizations_url":"https://api.github.com/users/chilander1/orgs","repos_url":"https://api.github.com/users/chilander1/repos","events_url":"https://api.github.com/users/chilander1/events{/privacy}","received_events_url":"https://api.github.com/users/chilander1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-03T09:58:48Z","updated_at":"2018-04-03T10:36:37Z","closed_at":null,"author_association":"NONE","body":"**Prettier 1.11.1**\r\n[Playground link](https://prettier.io/playground/#.....)\r\n```sh\r\n\r\n\r\n**Input:**\r\n```jsx\r\nexport const getApp = (appId, params = {}) => (\r\n  async (dispatch, getState) => {\r\n    try {\r\n      ....\r\n\r\n\r\n    } catch (error) {... }\r\n  }\r\n);\r\n```\r\n\r\n**Output:**\r\n```jsx\r\nexport const getApp = (appId, params = {}) => async (\r\n  dispatch,\r\n  getState,\r\n) => {\r\n  try {\r\n    ...\r\n\r\n\r\n    } catch (error) { ... }\r\n\r\n); // shoud be this '}'\r\n```\r\n\r\nWhy such a strange behavior and how to fix it?\r\nthanks)\r\n"},"comment":{"url":"https://api.github.com/repos/prettier/prettier/issues/comments/378205566","html_url":"https://github.com/prettier/prettier/issues/4246#issuecomment-378205566","issue_url":"https://api.github.com/repos/prettier/prettier/issues/4246","id":378205566,"user":{"login":"chilander1","id":10353288,"avatar_url":"https://avatars1.githubusercontent.com/u/10353288?v=4","gravatar_id":"","url":"https://api.github.com/users/chilander1","html_url":"https://github.com/chilander1","followers_url":"https://api.github.com/users/chilander1/followers","following_url":"https://api.github.com/users/chilander1/following{/other_user}","gists_url":"https://api.github.com/users/chilander1/gists{/gist_id}","starred_url":"https://api.github.com/users/chilander1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chilander1/subscriptions","organizations_url":"https://api.github.com/users/chilander1/orgs","repos_url":"https://api.github.com/users/chilander1/repos","events_url":"https://api.github.com/users/chilander1/events{/privacy}","received_events_url":"https://api.github.com/users/chilander1/received_events","type":"User","site_admin":false},"created_at":"2018-04-03T10:36:37Z","updated_at":"2018-04-03T10:36:37Z","author_association":"NONE","body":"@kachkaev hmm... there it works well.\r\nWhat could be wrong? \r\nI have no errors/warnings..."}}
{"actor":{"display_login":"chilander1"}}