{"action":"created","issue":{"url":"https://api.github.com/repos/pksunkara/octonode/issues/209","labels_url":"https://api.github.com/repos/pksunkara/octonode/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/pksunkara/octonode/issues/209/comments","events_url":"https://api.github.com/repos/pksunkara/octonode/issues/209/events","html_url":"https://github.com/pksunkara/octonode/issues/209","id":110416974,"number":209,"title":"typeof cbOrOptions === 'hash' prevents use of options in commit calls","user":{"login":"GeorgePhillips","id":435107,"avatar_url":"https://avatars.githubusercontent.com/u/435107?v=3","gravatar_id":"","url":"https://api.github.com/users/GeorgePhillips","html_url":"https://github.com/GeorgePhillips","followers_url":"https://api.github.com/users/GeorgePhillips/followers","following_url":"https://api.github.com/users/GeorgePhillips/following{/other_user}","gists_url":"https://api.github.com/users/GeorgePhillips/gists{/gist_id}","starred_url":"https://api.github.com/users/GeorgePhillips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeorgePhillips/subscriptions","organizations_url":"https://api.github.com/users/GeorgePhillips/orgs","repos_url":"https://api.github.com/users/GeorgePhillips/repos","events_url":"https://api.github.com/users/GeorgePhillips/events{/privacy}","received_events_url":"https://api.github.com/users/GeorgePhillips/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-08T10:21:05Z","updated_at":"2015-10-08T10:25:05Z","closed_at":null,"body":"`/lib/octonode/repo.js` contains a instances of `typeof cbOrOptions === 'hash'`. passing an object will never evaluate to 'hash' but will return 'object'.\r\n\r\nChanging it to `typeof cbOrOptions === 'object'` fixes the issue."},"comment":{"url":"https://api.github.com/repos/pksunkara/octonode/issues/comments/146488440","html_url":"https://github.com/pksunkara/octonode/issues/209#issuecomment-146488440","issue_url":"https://api.github.com/repos/pksunkara/octonode/issues/209","id":146488440,"user":{"login":"GeorgePhillips","id":435107,"avatar_url":"https://avatars.githubusercontent.com/u/435107?v=3","gravatar_id":"","url":"https://api.github.com/users/GeorgePhillips","html_url":"https://github.com/GeorgePhillips","followers_url":"https://api.github.com/users/GeorgePhillips/followers","following_url":"https://api.github.com/users/GeorgePhillips/following{/other_user}","gists_url":"https://api.github.com/users/GeorgePhillips/gists{/gist_id}","starred_url":"https://api.github.com/users/GeorgePhillips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeorgePhillips/subscriptions","organizations_url":"https://api.github.com/users/GeorgePhillips/orgs","repos_url":"https://api.github.com/users/GeorgePhillips/repos","events_url":"https://api.github.com/users/GeorgePhillips/events{/privacy}","received_events_url":"https://api.github.com/users/GeorgePhillips/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T10:25:05Z","updated_at":"2015-10-08T10:25:05Z","body":"#210"}}