{"action":"created","comment":{"url":"https://api.github.com/repos/atom/open-on-github/pulls/comments/46066156","id":46066156,"diff_hunk":"@@ -86,13 +86,22 @@ class GitHubFile\n   # Public\n   validationErrors: ->\n     unless @repo\n-      return [\"No repository found for path: #{@filePath}.\"]\n+      if @filePath\n+        return [\"No repository found for  path: #{@filePath}\"]","path":"lib/github-file.coffee","position":6,"original_position":6,"commit_id":"57dfe65c10dd9251ae17d775227d3111ad157c6b","original_commit_id":"57dfe65c10dd9251ae17d775227d3111ad157c6b","user":{"login":"50Wliu","id":2766036,"avatar_url":"https://avatars.githubusercontent.com/u/2766036?v=3","gravatar_id":"","url":"https://api.github.com/users/50Wliu","html_url":"https://github.com/50Wliu","followers_url":"https://api.github.com/users/50Wliu/followers","following_url":"https://api.github.com/users/50Wliu/following{/other_user}","gists_url":"https://api.github.com/users/50Wliu/gists{/gist_id}","starred_url":"https://api.github.com/users/50Wliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/50Wliu/subscriptions","organizations_url":"https://api.github.com/users/50Wliu/orgs","repos_url":"https://api.github.com/users/50Wliu/repos","events_url":"https://api.github.com/users/50Wliu/events{/privacy}","received_events_url":"https://api.github.com/users/50Wliu/received_events","type":"User","site_admin":false},"body":"Extra space","created_at":"2015-11-27T18:45:03Z","updated_at":"2015-11-27T18:45:03Z","html_url":"https://github.com/atom/open-on-github/pull/57#discussion_r46066156","pull_request_url":"https://api.github.com/repos/atom/open-on-github/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/atom/open-on-github/pulls/comments/46066156"},"html":{"href":"https://github.com/atom/open-on-github/pull/57#discussion_r46066156"},"pull_request":{"href":"https://api.github.com/repos/atom/open-on-github/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/atom/open-on-github/pulls/57","id":52015942,"html_url":"https://github.com/atom/open-on-github/pull/57","diff_url":"https://github.com/atom/open-on-github/pull/57.diff","patch_url":"https://github.com/atom/open-on-github/pull/57.patch","issue_url":"https://api.github.com/repos/atom/open-on-github/issues/57","number":57,"state":"open","locked":false,"title":"Fix for Atom Issue #8794 Remove 'null' text from front-facing messages","user":{"login":"g23-aw","id":5561632,"avatar_url":"https://avatars.githubusercontent.com/u/5561632?v=3","gravatar_id":"","url":"https://api.github.com/users/g23-aw","html_url":"https://github.com/g23-aw","followers_url":"https://api.github.com/users/g23-aw/followers","following_url":"https://api.github.com/users/g23-aw/following{/other_user}","gists_url":"https://api.github.com/users/g23-aw/gists{/gist_id}","starred_url":"https://api.github.com/users/g23-aw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g23-aw/subscriptions","organizations_url":"https://api.github.com/users/g23-aw/orgs","repos_url":"https://api.github.com/users/g23-aw/repos","events_url":"https://api.github.com/users/g23-aw/events{/privacy}","received_events_url":"https://api.github.com/users/g23-aw/received_events","type":"User","site_admin":false},"body":"Remove 'null' from alert messages if the item that is being printed is 'null'. Fix for atom issue atom/atom#8794.\r\n\r\nThis is the original message when the element is 'null':\r\n\r\n![messageoriginal](https://cloud.githubusercontent.com/assets/5561632/11446416/72facdda-94eb-11e5-9fa4-076bc2bbc47f.png)\r\n\r\nThis is the message now:\r\n\r\n![message](https://cloud.githubusercontent.com/assets/5561632/11446417/756e15e0-94eb-11e5-8b12-b61e397193b7.png)\r\n","created_at":"2015-11-27T17:45:24Z","updated_at":"2015-11-27T18:45:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a0b63f5f0667ac88b68ea4f2381a1ec4ddddd4a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/atom/open-on-github/pulls/57/commits","review_comments_url":"https://api.github.com/repos/atom/open-on-github/pulls/57/comments","review_comment_url":"https://api.github.com/repos/atom/open-on-github/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atom/open-on-github/issues/57/comments","statuses_url":"https://api.github.com/repos/atom/open-on-github/statuses/57dfe65c10dd9251ae17d775227d3111ad157c6b","head":{"label":"g23-aw:master","ref":"master","sha":"57dfe65c10dd9251ae17d775227d3111ad157c6b","user":{"login":"g23-aw","id":5561632,"avatar_url":"https://avatars.githubusercontent.com/u/5561632?v=3","gravatar_id":"","url":"https://api.github.com/users/g23-aw","html_url":"https://github.com/g23-aw","followers_url":"https://api.github.com/users/g23-aw/followers","following_url":"https://api.github.com/users/g23-aw/following{/other_user}","gists_url":"https://api.github.com/users/g23-aw/gists{/gist_id}","starred_url":"https://api.github.com/users/g23-aw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g23-aw/subscriptions","organizations_url":"https://api.github.com/users/g23-aw/orgs","repos_url":"https://api.github.com/users/g23-aw/repos","events_url":"https://api.github.com/users/g23-aw/events{/privacy}","received_events_url":"https://api.github.com/users/g23-aw/received_events","type":"User","site_admin":false},"repo":{"id":46992563,"name":"open-on-github","full_name":"g23-aw/open-on-github","owner":{"login":"g23-aw","id":5561632,"avatar_url":"https://avatars.githubusercontent.com/u/5561632?v=3","gravatar_id":"","url":"https://api.github.com/users/g23-aw","html_url":"https://github.com/g23-aw","followers_url":"https://api.github.com/users/g23-aw/followers","following_url":"https://api.github.com/users/g23-aw/following{/other_user}","gists_url":"https://api.github.com/users/g23-aw/gists{/gist_id}","starred_url":"https://api.github.com/users/g23-aw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g23-aw/subscriptions","organizations_url":"https://api.github.com/users/g23-aw/orgs","repos_url":"https://api.github.com/users/g23-aw/repos","events_url":"https://api.github.com/users/g23-aw/events{/privacy}","received_events_url":"https://api.github.com/users/g23-aw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/g23-aw/open-on-github","description":"Atom package for opening files on GitHub.com","fork":true,"url":"https://api.github.com/repos/g23-aw/open-on-github","forks_url":"https://api.github.com/repos/g23-aw/open-on-github/forks","keys_url":"https://api.github.com/repos/g23-aw/open-on-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/g23-aw/open-on-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/g23-aw/open-on-github/teams","hooks_url":"https://api.github.com/repos/g23-aw/open-on-github/hooks","issue_events_url":"https://api.github.com/repos/g23-aw/open-on-github/issues/events{/number}","events_url":"https://api.github.com/repos/g23-aw/open-on-github/events","assignees_url":"https://api.github.com/repos/g23-aw/open-on-github/assignees{/user}","branches_url":"https://api.github.com/repos/g23-aw/open-on-github/branches{/branch}","tags_url":"https://api.github.com/repos/g23-aw/open-on-github/tags","blobs_url":"https://api.github.com/repos/g23-aw/open-on-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/g23-aw/open-on-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/g23-aw/open-on-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/g23-aw/open-on-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/g23-aw/open-on-github/statuses/{sha}","languages_url":"https://api.github.com/repos/g23-aw/open-on-github/languages","stargazers_url":"https://api.github.com/repos/g23-aw/open-on-github/stargazers","contributors_url":"https://api.github.com/repos/g23-aw/open-on-github/contributors","subscribers_url":"https://api.github.com/repos/g23-aw/open-on-github/subscribers","subscription_url":"https://api.github.com/repos/g23-aw/open-on-github/subscription","commits_url":"https://api.github.com/repos/g23-aw/open-on-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/g23-aw/open-on-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/g23-aw/open-on-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/g23-aw/open-on-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/g23-aw/open-on-github/contents/{+path}","compare_url":"https://api.github.com/repos/g23-aw/open-on-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/g23-aw/open-on-github/merges","archive_url":"https://api.github.com/repos/g23-aw/open-on-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/g23-aw/open-on-github/downloads","issues_url":"https://api.github.com/repos/g23-aw/open-on-github/issues{/number}","pulls_url":"https://api.github.com/repos/g23-aw/open-on-github/pulls{/number}","milestones_url":"https://api.github.com/repos/g23-aw/open-on-github/milestones{/number}","notifications_url":"https://api.github.com/repos/g23-aw/open-on-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/g23-aw/open-on-github/labels{/name}","releases_url":"https://api.github.com/repos/g23-aw/open-on-github/releases{/id}","created_at":"2015-11-27T17:38:02Z","updated_at":"2015-11-27T17:38:03Z","pushed_at":"2015-11-27T17:41:49Z","git_url":"git://github.com/g23-aw/open-on-github.git","ssh_url":"git@github.com:g23-aw/open-on-github.git","clone_url":"https://github.com/g23-aw/open-on-github.git","svn_url":"https://github.com/g23-aw/open-on-github","homepage":"","size":125,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"atom:master","ref":"master","sha":"b3f0e98127fa61be6abb22aa416626197c8b1c29","user":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"repo":{"id":12258057,"name":"open-on-github","full_name":"atom/open-on-github","owner":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atom/open-on-github","description":"Atom package for opening files on GitHub.com","fork":false,"url":"https://api.github.com/repos/atom/open-on-github","forks_url":"https://api.github.com/repos/atom/open-on-github/forks","keys_url":"https://api.github.com/repos/atom/open-on-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atom/open-on-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atom/open-on-github/teams","hooks_url":"https://api.github.com/repos/atom/open-on-github/hooks","issue_events_url":"https://api.github.com/repos/atom/open-on-github/issues/events{/number}","events_url":"https://api.github.com/repos/atom/open-on-github/events","assignees_url":"https://api.github.com/repos/atom/open-on-github/assignees{/user}","branches_url":"https://api.github.com/repos/atom/open-on-github/branches{/branch}","tags_url":"https://api.github.com/repos/atom/open-on-github/tags","blobs_url":"https://api.github.com/repos/atom/open-on-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atom/open-on-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atom/open-on-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/atom/open-on-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atom/open-on-github/statuses/{sha}","languages_url":"https://api.github.com/repos/atom/open-on-github/languages","stargazers_url":"https://api.github.com/repos/atom/open-on-github/stargazers","contributors_url":"https://api.github.com/repos/atom/open-on-github/contributors","subscribers_url":"https://api.github.com/repos/atom/open-on-github/subscribers","subscription_url":"https://api.github.com/repos/atom/open-on-github/subscription","commits_url":"https://api.github.com/repos/atom/open-on-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/atom/open-on-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/atom/open-on-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/atom/open-on-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/atom/open-on-github/contents/{+path}","compare_url":"https://api.github.com/repos/atom/open-on-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atom/open-on-github/merges","archive_url":"https://api.github.com/repos/atom/open-on-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atom/open-on-github/downloads","issues_url":"https://api.github.com/repos/atom/open-on-github/issues{/number}","pulls_url":"https://api.github.com/repos/atom/open-on-github/pulls{/number}","milestones_url":"https://api.github.com/repos/atom/open-on-github/milestones{/number}","notifications_url":"https://api.github.com/repos/atom/open-on-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atom/open-on-github/labels{/name}","releases_url":"https://api.github.com/repos/atom/open-on-github/releases{/id}","created_at":"2013-08-21T01:05:23Z","updated_at":"2015-11-05T20:24:38Z","pushed_at":"2015-11-27T17:45:25Z","git_url":"git://github.com/atom/open-on-github.git","ssh_url":"git@github.com:atom/open-on-github.git","clone_url":"https://github.com/atom/open-on-github.git","svn_url":"https://github.com/atom/open-on-github","homepage":"","size":741,"stargazers_count":37,"watchers_count":37,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":6,"forks":26,"open_issues":6,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atom/open-on-github/pulls/57"},"html":{"href":"https://github.com/atom/open-on-github/pull/57"},"issue":{"href":"https://api.github.com/repos/atom/open-on-github/issues/57"},"comments":{"href":"https://api.github.com/repos/atom/open-on-github/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/atom/open-on-github/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/atom/open-on-github/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atom/open-on-github/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/atom/open-on-github/statuses/57dfe65c10dd9251ae17d775227d3111ad157c6b"}}}}