GitHub PullRequestEvent at 2014-10-12 14:34:48
Repository: repl-it
Actor: toddself
Payload: {"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/toddself/repl-it/pulls/9","id":22604138,"html_url":"https://github.com/toddself/repl-it/pull/9","diff_url":"https://github.com/toddself/repl-it/pull/9.diff","patch_url":"https://github.com/toddself/repl-it/pull/9.patch","issue_url":"https://api.github.com/repos/toddself/repl-it/issues/9","number":9,"state":"closed","locked":false,"title":"Fix broken --loadmain","user":{"login":"eush77","id":4472489,"avatar_url":"https://avatars.githubusercontent.com/u/4472489?v=2","gravatar_id":"","url":"https://api.github.com/users/eush77","html_url":"https://github.com/eush77","followers_url":"https://api.github.com/users/eush77/followers","following_url":"https://api.github.com/users/eush77/following{/other_user}","gists_url":"https://api.github.com/users/eush77/gists{/gist_id}","starred_url":"https://api.github.com/users/eush77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eush77/subscriptions","organizations_url":"https://api.github.com/users/eush77/orgs","repos_url":"https://api.github.com/users/eush77/repos","events_url":"https://api.github.com/users/eush77/events{/privacy}","received_events_url":"https://api.github.com/users/eush77/received_events","type":"User","site_admin":false},"body":"As pointed out in [the comment](https://github.com/toddself/repl-it/pull/7#issuecomment-58570792), there is a context issue that makes `--loadmain` crash.\r\n```\r\n$ repl-it --loadmain\r\n\r\nrepl-it/index.js:34\r\n          if(this.opts.verbose){\r\n                 ^\r\nTypeError: Cannot read property 'opts' of undefined\r\n    at loadMain (repl-it/index.js:34:18)\r\n    at null.<anonymous> (repl-it/index.js:42:11)\r\n    at Replit.loadPackages (repl-it/index.js:126:6)\r\n    at repl-it/index.js:24:20\r\n    at repl-it/index.js:95:8\r\n    at fs.js:271:14\r\n    at Object.oncomplete (fs.js:107:15)\r\n```","created_at":"2014-10-11T14:18:41Z","updated_at":"2014-10-12T14:34:48Z","closed_at":"2014-10-12T14:34:48Z","merged_at":"2014-10-12T14:34:48Z","merge_commit_sha":"0b55b81876b3fe05f20bdb1f007b504cdfef79ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/toddself/repl-it/pulls/9/commits","review_comments_url":"https://api.github.com/repos/toddself/repl-it/pulls/9/comments","review_comment_url":"https://api.github.com/repos/toddself/repl-it/pulls/comments/{number}","comments_url":"https://api.github.com/repos/toddself/repl-it/issues/9/comments","statuses_url":"https://api.github.com/repos/toddself/repl-it/statuses/0b62b6dbfa27c8fa1e3f0a5c12186733179f4a22","head":{"label":"eush77:loadmain-fix","ref":"loadmain-fix","sha":"0b62b6dbfa27c8fa1e3f0a5c12186733179f4a22","user":{"login":"eush77","id":4472489,"avatar_url":"https://avatars.githubusercontent.com/u/4472489?v=2","gravatar_id":"","url":"https://api.github.com/users/eush77","html_url":"https://github.com/eush77","followers_url":"https://api.github.com/users/eush77/followers","following_url":"https://api.github.com/users/eush77/following{/other_user}","gists_url":"https://api.github.com/users/eush77/gists{/gist_id}","starred_url":"https://api.github.com/users/eush77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eush77/subscriptions","organizations_url":"https://api.github.com/users/eush77/orgs","repos_url":"https://api.github.com/users/eush77/repos","events_url":"https://api.github.com/users/eush77/events{/privacy}","received_events_url":"https://api.github.com/users/eush77/received_events","type":"User","site_admin":false},"repo":{"id":24508915,"name":"repl-it","full_name":"eush77/repl-it","owner":{"login":"eush77","id":4472489,"avatar_url":"https://avatars.githubusercontent.com/u/4472489?v=2","gravatar_id":"","url":"https://api.github.com/users/eush77","html_url":"https://github.com/eush77","followers_url":"https://api.github.com/users/eush77/followers","following_url":"https://api.github.com/users/eush77/following{/other_user}","gists_url":"https://api.github.com/users/eush77/gists{/gist_id}","starred_url":"https://api.github.com/users/eush77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eush77/subscriptions","organizations_url":"https://api.github.com/users/eush77/orgs","repos_url":"https://api.github.com/users/eush77/repos","events_url":"https://api.github.com/users/eush77/events{/privacy}","received_events_url":"https://api.github.com/users/eush77/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eush77/repl-it","description":"","fork":true,"url":"https://api.github.com/repos/eush77/repl-it","forks_url":"https://api.github.com/repos/eush77/repl-it/forks","keys_url":"https://api.github.com/repos/eush77/repl-it/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eush77/repl-it/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eush77/repl-it/teams","hooks_url":"https://api.github.com/repos/eush77/repl-it/hooks","issue_events_url":"https://api.github.com/repos/eush77/repl-it/issues/events{/number}","events_url":"https://api.github.com/repos/eush77/repl-it/events","assignees_url":"https://api.github.com/repos/eush77/repl-it/assignees{/user}","branches_url":"https://api.github.com/repos/eush77/repl-it/branches{/branch}","tags_url":"https://api.github.com/repos/eush77/repl-it/tags","blobs_url":"https://api.github.com/repos/eush77/repl-it/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eush77/repl-it/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eush77/repl-it/git/refs{/sha}","trees_url":"https://api.github.com/repos/eush77/repl-it/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eush77/repl-it/statuses/{sha}","languages_url":"https://api.github.com/repos/eush77/repl-it/languages","stargazers_url":"https://api.github.com/repos/eush77/repl-it/stargazers","contributors_url":"https://api.github.com/repos/eush77/repl-it/contributors","subscribers_url":"https://api.github.com/repos/eush77/repl-it/subscribers","subscription_url":"https://api.github.com/repos/eush77/repl-it/subscription","commits_url":"https://api.github.com/repos/eush77/repl-it/commits{/sha}","git_commits_url":"https://api.github.com/repos/eush77/repl-it/git/commits{/sha}","comments_url":"https://api.github.com/repos/eush77/repl-it/comments{/number}","issue_comment_url":"https://api.github.com/repos/eush77/repl-it/issues/comments/{number}","contents_url":"https://api.github.com/repos/eush77/repl-it/contents/{+path}","compare_url":"https://api.github.com/repos/eush77/repl-it/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eush77/repl-it/merges","archive_url":"https://api.github.com/repos/eush77/repl-it/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eush77/repl-it/downloads","issues_url":"https://api.github.com/repos/eush77/repl-it/issues{/number}","pulls_url":"https://api.github.com/repos/eush77/repl-it/pulls{/number}","milestones_url":"https://api.github.com/repos/eush77/repl-it/milestones{/number}","notifications_url":"https://api.github.com/repos/eush77/repl-it/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eush77/repl-it/labels{/name}","releases_url":"https://api.github.com/repos/eush77/repl-it/releases{/id}","created_at":"2014-09-26T17:33:49Z","updated_at":"2014-10-09T12:08:00Z","pushed_at":"2014-10-11T14:14:00Z","git_url":"git://github.com/eush77/repl-it.git","ssh_url":"git@github.com:eush77/repl-it.git","clone_url":"https://github.com/eush77/repl-it.git","svn_url":"https://github.com/eush77/repl-it","homepage":null,"size":152,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"toddself:master","ref":"master","sha":"7cf24aadd953e3c710d8c6b8b8b1dde860f40ac5","user":{"login":"toddself","id":193412,"avatar_url":"https://avatars.githubusercontent.com/u/193412?v=2","gravatar_id":"","url":"https://api.github.com/users/toddself","html_url":"https://github.com/toddself","followers_url":"https://api.github.com/users/toddself/followers","following_url":"https://api.github.com/users/toddself/following{/other_user}","gists_url":"https://api.github.com/users/toddself/gists{/gist_id}","starred_url":"https://api.github.com/users/toddself/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddself/subscriptions","organizations_url":"https://api.github.com/users/toddself/orgs","repos_url":"https://api.github.com/users/toddself/repos","events_url":"https://api.github.com/users/toddself/events{/privacy}","received_events_url":"https://api.github.com/users/toddself/received_events","type":"User","site_admin":false},"repo":{"id":22643345,"name":"repl-it","full_name":"toddself/repl-it","owner":{"login":"toddself","id":193412,"avatar_url":"https://avatars.githubusercontent.com/u/193412?v=2","gravatar_id":"","url":"https://api.github.com/users/toddself","html_url":"https://github.com/toddself","followers_url":"https://api.github.com/users/toddself/followers","following_url":"https://api.github.com/users/toddself/following{/other_user}","gists_url":"https://api.github.com/users/toddself/gists{/gist_id}","starred_url":"https://api.github.com/users/toddself/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddself/subscriptions","organizations_url":"https://api.github.com/users/toddself/orgs","repos_url":"https://api.github.com/users/toddself/repos","events_url":"https://api.github.com/users/toddself/events{/privacy}","received_events_url":"https://api.github.com/users/toddself/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toddself/repl-it","description":"Load your project into a repl!","fork":false,"url":"https://api.github.com/repos/toddself/repl-it","forks_url":"https://api.github.com/repos/toddself/repl-it/forks","keys_url":"https://api.github.com/repos/toddself/repl-it/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toddself/repl-it/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toddself/repl-it/teams","hooks_url":"https://api.github.com/repos/toddself/repl-it/hooks","issue_events_url":"https://api.github.com/repos/toddself/repl-it/issues/events{/number}","events_url":"https://api.github.com/repos/toddself/repl-it/events","assignees_url":"https://api.github.com/repos/toddself/repl-it/assignees{/user}","branches_url":"https://api.github.com/repos/toddself/repl-it/branches{/branch}","tags_url":"https://api.github.com/repos/toddself/repl-it/tags","blobs_url":"https://api.github.com/repos/toddself/repl-it/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toddself/repl-it/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toddself/repl-it/git/refs{/sha}","trees_url":"https://api.github.com/repos/toddself/repl-it/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toddself/repl-it/statuses/{sha}","languages_url":"https://api.github.com/repos/toddself/repl-it/languages","stargazers_url":"https://api.github.com/repos/toddself/repl-it/stargazers","contributors_url":"https://api.github.com/repos/toddself/repl-it/contributors","subscribers_url":"https://api.github.com/repos/toddself/repl-it/subscribers","subscription_url":"https://api.github.com/repos/toddself/repl-it/subscription","commits_url":"https://api.github.com/repos/toddself/repl-it/commits{/sha}","git_commits_url":"https://api.github.com/repos/toddself/repl-it/git/commits{/sha}","comments_url":"https://api.github.com/repos/toddself/repl-it/comments{/number}","issue_comment_url":"https://api.github.com/repos/toddself/repl-it/issues/comments/{number}","contents_url":"https://api.github.com/repos/toddself/repl-it/contents/{+path}","compare_url":"https://api.github.com/repos/toddself/repl-it/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toddself/repl-it/merges","archive_url":"https://api.github.com/repos/toddself/repl-it/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toddself/repl-it/downloads","issues_url":"https://api.github.com/repos/toddself/repl-it/issues{/number}","pulls_url":"https://api.github.com/repos/toddself/repl-it/pulls{/number}","milestones_url":"https://api.github.com/repos/toddself/repl-it/milestones{/number}","notifications_url":"https://api.github.com/repos/toddself/repl-it/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toddself/repl-it/labels{/name}","releases_url":"https://api.github.com/repos/toddself/repl-it/releases{/id}","created_at":"2014-08-05T12:53:32Z","updated_at":"2014-09-30T14:26:02Z","pushed_at":"2014-10-12T14:34:48Z","git_url":"git://github.com/toddself/repl-it.git","ssh_url":"git@github.com:toddself/repl-it.git","clone_url":"https://github.com/toddself/repl-it.git","svn_url":"https://github.com/toddself/repl-it","homepage":"","size":327,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/toddself/repl-it/pulls/9"},"html":{"href":"https://github.com/toddself/repl-it/pull/9"},"issue":{"href":"https://api.github.com/repos/toddself/repl-it/issues/9"},"comments":{"href":"https://api.github.com/repos/toddself/repl-it/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/toddself/repl-it/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/toddself/repl-it/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/toddself/repl-it/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/toddself/repl-it/statuses/0b62b6dbfa27c8fa1e3f0a5c12186733179f4a22"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"toddself","id":193412,"avatar_url":"https://avatars.githubusercontent.com/u/193412?v=2","gravatar_id":"","url":"https://api.github.com/users/toddself","html_url":"https://github.com/toddself","followers_url":"https://api.github.com/users/toddself/followers","following_url":"https://api.github.com/users/toddself/following{/other_user}","gists_url":"https://api.github.com/users/toddself/gists{/gist_id}","starred_url":"https://api.github.com/users/toddself/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddself/subscriptions","organizations_url":"https://api.github.com/users/toddself/orgs","repos_url":"https://api.github.com/users/toddself/repos","events_url":"https://api.github.com/users/toddself/events{/privacy}","received_events_url":"https://api.github.com/users/toddself/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}