{"action":"created","issue":{"url":"https://api.github.com/repos/EXSyst/recent-projects/issues/47","repository_url":"https://api.github.com/repos/EXSyst/recent-projects","labels_url":"https://api.github.com/repos/EXSyst/recent-projects/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/EXSyst/recent-projects/issues/47/comments","events_url":"https://api.github.com/repos/EXSyst/recent-projects/issues/47/events","html_url":"https://github.com/EXSyst/recent-projects/pull/47","id":174977031,"number":47,"title":"fixed: attempting to open a project in the current window would often fail and simply close the window","user":{"login":"ProPuke","id":105934,"avatar_url":"https://avatars.githubusercontent.com/u/105934?v=3","gravatar_id":"","url":"https://api.github.com/users/ProPuke","html_url":"https://github.com/ProPuke","followers_url":"https://api.github.com/users/ProPuke/followers","following_url":"https://api.github.com/users/ProPuke/following{/other_user}","gists_url":"https://api.github.com/users/ProPuke/gists{/gist_id}","starred_url":"https://api.github.com/users/ProPuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProPuke/subscriptions","organizations_url":"https://api.github.com/users/ProPuke/orgs","repos_url":"https://api.github.com/users/ProPuke/repos","events_url":"https://api.github.com/users/ProPuke/events{/privacy}","received_events_url":"https://api.github.com/users/ProPuke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-05T00:06:17Z","updated_at":"2016-09-05T01:20:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/EXSyst/recent-projects/pulls/47","html_url":"https://github.com/EXSyst/recent-projects/pull/47","diff_url":"https://github.com/EXSyst/recent-projects/pull/47.diff","patch_url":"https://github.com/EXSyst/recent-projects/pull/47.patch"},"body":"It seems `atom.open()` is async now, so there's no way to wait on it.\r\nAs a result `closeAfterOpenProject()` was firing before it had completed, which if it was opening in the same window would often terminate it before the opening the project had completed.\r\n\r\nI've used the https://github.com/mehcode/atom-project-util library which solves this.\r\nOpening projects in the same window now works correctly."},"comment":{"url":"https://api.github.com/repos/EXSyst/recent-projects/issues/comments/244640595","html_url":"https://github.com/EXSyst/recent-projects/pull/47#issuecomment-244640595","issue_url":"https://api.github.com/repos/EXSyst/recent-projects/issues/47","id":244640595,"user":{"login":"ProPuke","id":105934,"avatar_url":"https://avatars.githubusercontent.com/u/105934?v=3","gravatar_id":"","url":"https://api.github.com/users/ProPuke","html_url":"https://github.com/ProPuke","followers_url":"https://api.github.com/users/ProPuke/followers","following_url":"https://api.github.com/users/ProPuke/following{/other_user}","gists_url":"https://api.github.com/users/ProPuke/gists{/gist_id}","starred_url":"https://api.github.com/users/ProPuke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProPuke/subscriptions","organizations_url":"https://api.github.com/users/ProPuke/orgs","repos_url":"https://api.github.com/users/ProPuke/repos","events_url":"https://api.github.com/users/ProPuke/events{/privacy}","received_events_url":"https://api.github.com/users/ProPuke/received_events","type":"User","site_admin":false},"created_at":"2016-09-05T01:20:46Z","updated_at":"2016-09-05T01:20:46Z","body":"This closes issues #30, #41 and #44"}}
{"actor":{"display_login":"ProPuke"}}