{"action":"created","issue":{"url":"https://api.github.com/repos/maryrosecook/gitlet/issues/12","labels_url":"https://api.github.com/repos/maryrosecook/gitlet/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/maryrosecook/gitlet/issues/12/comments","events_url":"https://api.github.com/repos/maryrosecook/gitlet/issues/12/events","html_url":"https://github.com/maryrosecook/gitlet/pull/12","id":55473941,"number":12,"title":"fix gitlet: improve check in files.read","user":{"login":"coderaiser","id":1573141,"avatar_url":"https://avatars.githubusercontent.com/u/1573141?v=3","gravatar_id":"","url":"https://api.github.com/users/coderaiser","html_url":"https://github.com/coderaiser","followers_url":"https://api.github.com/users/coderaiser/followers","following_url":"https://api.github.com/users/coderaiser/following{/other_user}","gists_url":"https://api.github.com/users/coderaiser/gists{/gist_id}","starred_url":"https://api.github.com/users/coderaiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderaiser/subscriptions","organizations_url":"https://api.github.com/users/coderaiser/orgs","repos_url":"https://api.github.com/users/coderaiser/repos","events_url":"https://api.github.com/users/coderaiser/events{/privacy}","received_events_url":"https://api.github.com/users/coderaiser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-26T11:50:11Z","updated_at":"2015-01-26T19:50:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/maryrosecook/gitlet/pulls/12","html_url":"https://github.com/maryrosecook/gitlet/pull/12","diff_url":"https://github.com/maryrosecook/gitlet/pull/12.diff","patch_url":"https://github.com/maryrosecook/gitlet/pull/12.patch"},"body":"When `config` is exist and it is not file, error occurs:\r\n```\r\nError: EISDIR, illegal operation on a directory\r\n```"},"comment":{"url":"https://api.github.com/repos/maryrosecook/gitlet/issues/comments/71525344","html_url":"https://github.com/maryrosecook/gitlet/pull/12#issuecomment-71525344","issue_url":"https://api.github.com/repos/maryrosecook/gitlet/issues/12","id":71525344,"user":{"login":"maryrosecook","id":2716,"avatar_url":"https://avatars.githubusercontent.com/u/2716?v=3","gravatar_id":"","url":"https://api.github.com/users/maryrosecook","html_url":"https://github.com/maryrosecook","followers_url":"https://api.github.com/users/maryrosecook/followers","following_url":"https://api.github.com/users/maryrosecook/following{/other_user}","gists_url":"https://api.github.com/users/maryrosecook/gists{/gist_id}","starred_url":"https://api.github.com/users/maryrosecook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maryrosecook/subscriptions","organizations_url":"https://api.github.com/users/maryrosecook/orgs","repos_url":"https://api.github.com/users/maryrosecook/repos","events_url":"https://api.github.com/users/maryrosecook/events{/privacy}","received_events_url":"https://api.github.com/users/maryrosecook/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T19:50:38Z","updated_at":"2015-01-26T19:50:38Z","body":"Thanks a lot for this.  Would you mind adding a test for the case that caused you to find the bug.  Thanks very much!"}}