{"action":"created","comment":{"url":"https://api.github.com/repos/v1690117/v1690117-js-otus/pulls/comments/240180015","pull_request_review_id":183147513,"id":240180015,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDE4MDAxNQ==","diff_hunk":"@@ -0,0 +1,55 @@\n+const fs = require('fs')\n+const path = require('path')\n+\n+function run() {","path":"node-3/tree.js","position":4,"original_position":4,"commit_id":"e637f4b3fbfcb7baa7d59ecc0dd41a2f2dad6176","original_commit_id":"e637f4b3fbfcb7baa7d59ecc0dd41a2f2dad6176","user":{"login":"shershen08","id":1363772,"node_id":"MDQ6VXNlcjEzNjM3NzI=","avatar_url":"https://avatars3.githubusercontent.com/u/1363772?v=4","gravatar_id":"","url":"https://api.github.com/users/shershen08","html_url":"https://github.com/shershen08","followers_url":"https://api.github.com/users/shershen08/followers","following_url":"https://api.github.com/users/shershen08/following{/other_user}","gists_url":"https://api.github.com/users/shershen08/gists{/gist_id}","starred_url":"https://api.github.com/users/shershen08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shershen08/subscriptions","organizations_url":"https://api.github.com/users/shershen08/orgs","repos_url":"https://api.github.com/users/shershen08/repos","events_url":"https://api.github.com/users/shershen08/events{/privacy}","received_events_url":"https://api.github.com/users/shershen08/received_events","type":"User","site_admin":false},"body":"здесь и ниже можно декларацию функций сделать через const","created_at":"2018-12-10T11:48:06Z","updated_at":"2018-12-10T11:53:18Z","html_url":"https://github.com/v1690117/v1690117-js-otus/pull/4#discussion_r240180015","pull_request_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/v1690117/v1690117-js-otus/pulls/comments/240180015"},"html":{"href":"https://github.com/v1690117/v1690117-js-otus/pull/4#discussion_r240180015"},"pull_request":{"href":"https://api.github.com/repos/v1690117/v1690117-js-otus/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/v1690117/v1690117-js-otus/pulls/4","id":237145724,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MTQ1NzI0","html_url":"https://github.com/v1690117/v1690117-js-otus/pull/4","diff_url":"https://github.com/v1690117/v1690117-js-otus/pull/4.diff","patch_url":"https://github.com/v1690117/v1690117-js-otus/pull/4.patch","issue_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/issues/4","number":4,"state":"open","locked":false,"title":"node-3","user":{"login":"v1690117","id":8942600,"node_id":"MDQ6VXNlcjg5NDI2MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/8942600?v=4","gravatar_id":"","url":"https://api.github.com/users/v1690117","html_url":"https://github.com/v1690117","followers_url":"https://api.github.com/users/v1690117/followers","following_url":"https://api.github.com/users/v1690117/following{/other_user}","gists_url":"https://api.github.com/users/v1690117/gists{/gist_id}","starred_url":"https://api.github.com/users/v1690117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v1690117/subscriptions","organizations_url":"https://api.github.com/users/v1690117/orgs","repos_url":"https://api.github.com/users/v1690117/repos","events_url":"https://api.github.com/users/v1690117/events{/privacy}","received_events_url":"https://api.github.com/users/v1690117/received_events","type":"User","site_admin":false},"body":"Решена задача по занятию node-3","created_at":"2018-12-09T17:49:10Z","updated_at":"2018-12-10T11:53:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c872b031fc8a8c721a4b7eed09ddb6818f293011","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/pulls/4/commits","review_comments_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/pulls/4/comments","review_comment_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/issues/4/comments","statuses_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/statuses/e637f4b3fbfcb7baa7d59ecc0dd41a2f2dad6176","head":{"label":"v1690117:node-3","ref":"node-3","sha":"e637f4b3fbfcb7baa7d59ecc0dd41a2f2dad6176","user":{"login":"v1690117","id":8942600,"node_id":"MDQ6VXNlcjg5NDI2MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/8942600?v=4","gravatar_id":"","url":"https://api.github.com/users/v1690117","html_url":"https://github.com/v1690117","followers_url":"https://api.github.com/users/v1690117/followers","following_url":"https://api.github.com/users/v1690117/following{/other_user}","gists_url":"https://api.github.com/users/v1690117/gists{/gist_id}","starred_url":"https://api.github.com/users/v1690117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v1690117/subscriptions","organizations_url":"https://api.github.com/users/v1690117/orgs","repos_url":"https://api.github.com/users/v1690117/repos","events_url":"https://api.github.com/users/v1690117/events{/privacy}","received_events_url":"https://api.github.com/users/v1690117/received_events","type":"User","site_admin":false},"repo":{"id":159050264,"node_id":"MDEwOlJlcG9zaXRvcnkxNTkwNTAyNjQ=","name":"v1690117-js-otus","full_name":"v1690117/v1690117-js-otus","private":false,"owner":{"login":"v1690117","id":8942600,"node_id":"MDQ6VXNlcjg5NDI2MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/8942600?v=4","gravatar_id":"","url":"https://api.github.com/users/v1690117","html_url":"https://github.com/v1690117","followers_url":"https://api.github.com/users/v1690117/followers","following_url":"https://api.github.com/users/v1690117/following{/other_user}","gists_url":"https://api.github.com/users/v1690117/gists{/gist_id}","starred_url":"https://api.github.com/users/v1690117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v1690117/subscriptions","organizations_url":"https://api.github.com/users/v1690117/orgs","repos_url":"https://api.github.com/users/v1690117/repos","events_url":"https://api.github.com/users/v1690117/events{/privacy}","received_events_url":"https://api.github.com/users/v1690117/received_events","type":"User","site_admin":false},"html_url":"https://github.com/v1690117/v1690117-js-otus","description":"Otus js-developer homework repo","fork":false,"url":"https://api.github.com/repos/v1690117/v1690117-js-otus","forks_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/forks","keys_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/teams","hooks_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/hooks","issue_events_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/issues/events{/number}","events_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/events","assignees_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/assignees{/user}","branches_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/branches{/branch}","tags_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/tags","blobs_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/git/refs{/sha}","trees_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/statuses/{sha}","languages_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/languages","stargazers_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/stargazers","contributors_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/contributors","subscribers_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/subscribers","subscription_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/subscription","commits_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/commits{/sha}","git_commits_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/git/commits{/sha}","comments_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/comments{/number}","issue_comment_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/issues/comments{/number}","contents_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/contents/{+path}","compare_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/merges","archive_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/downloads","issues_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/issues{/number}","pulls_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/pulls{/number}","milestones_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/milestones{/number}","notifications_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/labels{/name}","releases_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/releases{/id}","deployments_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/deployments","created_at":"2018-11-25T16:13:41Z","updated_at":"2018-12-08T20:28:33Z","pushed_at":"2018-12-09T17:55:08Z","git_url":"git://github.com/v1690117/v1690117-js-otus.git","ssh_url":"git@github.com:v1690117/v1690117-js-otus.git","clone_url":"https://github.com/v1690117/v1690117-js-otus.git","svn_url":"https://github.com/v1690117/v1690117-js-otus","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"v1690117:master","ref":"master","sha":"73d58a823221333e567b3172626f229c04e9f1f1","user":{"login":"v1690117","id":8942600,"node_id":"MDQ6VXNlcjg5NDI2MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/8942600?v=4","gravatar_id":"","url":"https://api.github.com/users/v1690117","html_url":"https://github.com/v1690117","followers_url":"https://api.github.com/users/v1690117/followers","following_url":"https://api.github.com/users/v1690117/following{/other_user}","gists_url":"https://api.github.com/users/v1690117/gists{/gist_id}","starred_url":"https://api.github.com/users/v1690117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v1690117/subscriptions","organizations_url":"https://api.github.com/users/v1690117/orgs","repos_url":"https://api.github.com/users/v1690117/repos","events_url":"https://api.github.com/users/v1690117/events{/privacy}","received_events_url":"https://api.github.com/users/v1690117/received_events","type":"User","site_admin":false},"repo":{"id":159050264,"node_id":"MDEwOlJlcG9zaXRvcnkxNTkwNTAyNjQ=","name":"v1690117-js-otus","full_name":"v1690117/v1690117-js-otus","private":false,"owner":{"login":"v1690117","id":8942600,"node_id":"MDQ6VXNlcjg5NDI2MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/8942600?v=4","gravatar_id":"","url":"https://api.github.com/users/v1690117","html_url":"https://github.com/v1690117","followers_url":"https://api.github.com/users/v1690117/followers","following_url":"https://api.github.com/users/v1690117/following{/other_user}","gists_url":"https://api.github.com/users/v1690117/gists{/gist_id}","starred_url":"https://api.github.com/users/v1690117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v1690117/subscriptions","organizations_url":"https://api.github.com/users/v1690117/orgs","repos_url":"https://api.github.com/users/v1690117/repos","events_url":"https://api.github.com/users/v1690117/events{/privacy}","received_events_url":"https://api.github.com/users/v1690117/received_events","type":"User","site_admin":false},"html_url":"https://github.com/v1690117/v1690117-js-otus","description":"Otus js-developer homework repo","fork":false,"url":"https://api.github.com/repos/v1690117/v1690117-js-otus","forks_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/forks","keys_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/teams","hooks_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/hooks","issue_events_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/issues/events{/number}","events_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/events","assignees_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/assignees{/user}","branches_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/branches{/branch}","tags_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/tags","blobs_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/git/refs{/sha}","trees_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/statuses/{sha}","languages_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/languages","stargazers_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/stargazers","contributors_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/contributors","subscribers_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/subscribers","subscription_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/subscription","commits_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/commits{/sha}","git_commits_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/git/commits{/sha}","comments_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/comments{/number}","issue_comment_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/issues/comments{/number}","contents_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/contents/{+path}","compare_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/merges","archive_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/downloads","issues_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/issues{/number}","pulls_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/pulls{/number}","milestones_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/milestones{/number}","notifications_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/labels{/name}","releases_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/releases{/id}","deployments_url":"https://api.github.com/repos/v1690117/v1690117-js-otus/deployments","created_at":"2018-11-25T16:13:41Z","updated_at":"2018-12-08T20:28:33Z","pushed_at":"2018-12-09T17:55:08Z","git_url":"git://github.com/v1690117/v1690117-js-otus.git","ssh_url":"git@github.com:v1690117/v1690117-js-otus.git","clone_url":"https://github.com/v1690117/v1690117-js-otus.git","svn_url":"https://github.com/v1690117/v1690117-js-otus","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/v1690117/v1690117-js-otus/pulls/4"},"html":{"href":"https://github.com/v1690117/v1690117-js-otus/pull/4"},"issue":{"href":"https://api.github.com/repos/v1690117/v1690117-js-otus/issues/4"},"comments":{"href":"https://api.github.com/repos/v1690117/v1690117-js-otus/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/v1690117/v1690117-js-otus/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/v1690117/v1690117-js-otus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/v1690117/v1690117-js-otus/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/v1690117/v1690117-js-otus/statuses/e637f4b3fbfcb7baa7d59ecc0dd41a2f2dad6176"}},"author_association":"OWNER"}}
{"actor":{"display_login":"shershen08"}}