{"action":"closed","number":43,"pull_request":{"url":"https://api.github.com/repos/AdeleD/react-paginate/pulls/43","id":58189555,"html_url":"https://github.com/AdeleD/react-paginate/pull/43","diff_url":"https://github.com/AdeleD/react-paginate/pull/43.diff","patch_url":"https://github.com/AdeleD/react-paginate/pull/43.patch","issue_url":"https://api.github.com/repos/AdeleD/react-paginate/issues/43","number":43,"state":"closed","locked":false,"title":"Create a data directory for demo","user":{"login":"platan","id":1526000,"avatar_url":"https://avatars.githubusercontent.com/u/1526000?v=3","gravatar_id":"","url":"https://api.github.com/users/platan","html_url":"https://github.com/platan","followers_url":"https://api.github.com/users/platan/followers","following_url":"https://api.github.com/users/platan/following{/other_user}","gists_url":"https://api.github.com/users/platan/gists{/gist_id}","starred_url":"https://api.github.com/users/platan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/platan/subscriptions","organizations_url":"https://api.github.com/users/platan/orgs","repos_url":"https://api.github.com/users/platan/repos","events_url":"https://api.github.com/users/platan/events{/privacy}","received_events_url":"https://api.github.com/users/platan/received_events","type":"User","site_admin":false},"body":"I get an error while preparing a demo `make demo`. This change creates a `data` dir before creating a file. \r\n\r\n```\r\n> make demo       \r\ncd demo && webpack\r\nHash: 3318be4fa6c418ae1bc1\r\nVersion: webpack 1.12.12\r\nTime: 2820ms\r\n      Asset     Size  Chunks             Chunk Names\r\n    demo.js   974 kB       0  [emitted]  main\r\ndemo.js.map  1.16 MB       0  [emitted]  main\r\n    + 167 hidden modules\r\nnode demo/data.js\r\nfs.js:584\r\n  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);\r\n                 ^\r\n\r\nError: ENOENT: no such file or directory, open '/home/user1/react-paginate-platan/demo/data/data.json'\r\n    at Error (native)\r\n    at Object.fs.openSync (fs.js:584:18)\r\n    at Object.fs.writeFileSync (fs.js:1224:33)\r\n    at generateData (/home/user1/react-paginate-platan/demo/data.js:20:6)\r\n    at Object.<anonymous> (/home/user1/react-paginate-platan/demo/data.js:25:1)\r\n    at Module._compile (module.js:413:34)\r\n    at Object.Module._extensions..js (module.js:422:10)\r\n    at Module.load (module.js:357:32)\r\n    at Function.Module._load (module.js:314:12)\r\n    at Function.Module.runMain (module.js:447:10)\r\nmake: *** [demo] Błąd 1\r\n```","created_at":"2016-02-03T19:42:48Z","updated_at":"2016-02-03T22:03:41Z","closed_at":"2016-02-03T22:03:41Z","merged_at":"2016-02-03T22:03:41Z","merge_commit_sha":"964b97f4fe1a8d66677af89c4c3c38c929380f1b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AdeleD/react-paginate/pulls/43/commits","review_comments_url":"https://api.github.com/repos/AdeleD/react-paginate/pulls/43/comments","review_comment_url":"https://api.github.com/repos/AdeleD/react-paginate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AdeleD/react-paginate/issues/43/comments","statuses_url":"https://api.github.com/repos/AdeleD/react-paginate/statuses/ad6b27621820ec6e7e367b6f575c1c0cab5c5838","head":{"label":"platan:demo-data-dir","ref":"demo-data-dir","sha":"ad6b27621820ec6e7e367b6f575c1c0cab5c5838","user":{"login":"platan","id":1526000,"avatar_url":"https://avatars.githubusercontent.com/u/1526000?v=3","gravatar_id":"","url":"https://api.github.com/users/platan","html_url":"https://github.com/platan","followers_url":"https://api.github.com/users/platan/followers","following_url":"https://api.github.com/users/platan/following{/other_user}","gists_url":"https://api.github.com/users/platan/gists{/gist_id}","starred_url":"https://api.github.com/users/platan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/platan/subscriptions","organizations_url":"https://api.github.com/users/platan/orgs","repos_url":"https://api.github.com/users/platan/repos","events_url":"https://api.github.com/users/platan/events{/privacy}","received_events_url":"https://api.github.com/users/platan/received_events","type":"User","site_admin":false},"repo":{"id":50949653,"name":"react-paginate","full_name":"platan/react-paginate","owner":{"login":"platan","id":1526000,"avatar_url":"https://avatars.githubusercontent.com/u/1526000?v=3","gravatar_id":"","url":"https://api.github.com/users/platan","html_url":"https://github.com/platan","followers_url":"https://api.github.com/users/platan/followers","following_url":"https://api.github.com/users/platan/following{/other_user}","gists_url":"https://api.github.com/users/platan/gists{/gist_id}","starred_url":"https://api.github.com/users/platan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/platan/subscriptions","organizations_url":"https://api.github.com/users/platan/orgs","repos_url":"https://api.github.com/users/platan/repos","events_url":"https://api.github.com/users/platan/events{/privacy}","received_events_url":"https://api.github.com/users/platan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/platan/react-paginate","description":"A ReactJS component that creates a pagination","fork":true,"url":"https://api.github.com/repos/platan/react-paginate","forks_url":"https://api.github.com/repos/platan/react-paginate/forks","keys_url":"https://api.github.com/repos/platan/react-paginate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/platan/react-paginate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/platan/react-paginate/teams","hooks_url":"https://api.github.com/repos/platan/react-paginate/hooks","issue_events_url":"https://api.github.com/repos/platan/react-paginate/issues/events{/number}","events_url":"https://api.github.com/repos/platan/react-paginate/events","assignees_url":"https://api.github.com/repos/platan/react-paginate/assignees{/user}","branches_url":"https://api.github.com/repos/platan/react-paginate/branches{/branch}","tags_url":"https://api.github.com/repos/platan/react-paginate/tags","blobs_url":"https://api.github.com/repos/platan/react-paginate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/platan/react-paginate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/platan/react-paginate/git/refs{/sha}","trees_url":"https://api.github.com/repos/platan/react-paginate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/platan/react-paginate/statuses/{sha}","languages_url":"https://api.github.com/repos/platan/react-paginate/languages","stargazers_url":"https://api.github.com/repos/platan/react-paginate/stargazers","contributors_url":"https://api.github.com/repos/platan/react-paginate/contributors","subscribers_url":"https://api.github.com/repos/platan/react-paginate/subscribers","subscription_url":"https://api.github.com/repos/platan/react-paginate/subscription","commits_url":"https://api.github.com/repos/platan/react-paginate/commits{/sha}","git_commits_url":"https://api.github.com/repos/platan/react-paginate/git/commits{/sha}","comments_url":"https://api.github.com/repos/platan/react-paginate/comments{/number}","issue_comment_url":"https://api.github.com/repos/platan/react-paginate/issues/comments{/number}","contents_url":"https://api.github.com/repos/platan/react-paginate/contents/{+path}","compare_url":"https://api.github.com/repos/platan/react-paginate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/platan/react-paginate/merges","archive_url":"https://api.github.com/repos/platan/react-paginate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/platan/react-paginate/downloads","issues_url":"https://api.github.com/repos/platan/react-paginate/issues{/number}","pulls_url":"https://api.github.com/repos/platan/react-paginate/pulls{/number}","milestones_url":"https://api.github.com/repos/platan/react-paginate/milestones{/number}","notifications_url":"https://api.github.com/repos/platan/react-paginate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/platan/react-paginate/labels{/name}","releases_url":"https://api.github.com/repos/platan/react-paginate/releases{/id}","deployments_url":"https://api.github.com/repos/platan/react-paginate/deployments","created_at":"2016-02-02T20:29:38Z","updated_at":"2016-02-02T20:29:40Z","pushed_at":"2016-02-03T19:36:50Z","git_url":"git://github.com/platan/react-paginate.git","ssh_url":"git@github.com:platan/react-paginate.git","clone_url":"https://github.com/platan/react-paginate.git","svn_url":"https://github.com/platan/react-paginate","homepage":"","size":2947,"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":"AdeleD:master","ref":"master","sha":"ca37bbe95822849af8b6d4ab170274972825002d","user":{"login":"AdeleD","id":942068,"avatar_url":"https://avatars.githubusercontent.com/u/942068?v=3","gravatar_id":"","url":"https://api.github.com/users/AdeleD","html_url":"https://github.com/AdeleD","followers_url":"https://api.github.com/users/AdeleD/followers","following_url":"https://api.github.com/users/AdeleD/following{/other_user}","gists_url":"https://api.github.com/users/AdeleD/gists{/gist_id}","starred_url":"https://api.github.com/users/AdeleD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdeleD/subscriptions","organizations_url":"https://api.github.com/users/AdeleD/orgs","repos_url":"https://api.github.com/users/AdeleD/repos","events_url":"https://api.github.com/users/AdeleD/events{/privacy}","received_events_url":"https://api.github.com/users/AdeleD/received_events","type":"User","site_admin":false},"repo":{"id":24233213,"name":"react-paginate","full_name":"AdeleD/react-paginate","owner":{"login":"AdeleD","id":942068,"avatar_url":"https://avatars.githubusercontent.com/u/942068?v=3","gravatar_id":"","url":"https://api.github.com/users/AdeleD","html_url":"https://github.com/AdeleD","followers_url":"https://api.github.com/users/AdeleD/followers","following_url":"https://api.github.com/users/AdeleD/following{/other_user}","gists_url":"https://api.github.com/users/AdeleD/gists{/gist_id}","starred_url":"https://api.github.com/users/AdeleD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdeleD/subscriptions","organizations_url":"https://api.github.com/users/AdeleD/orgs","repos_url":"https://api.github.com/users/AdeleD/repos","events_url":"https://api.github.com/users/AdeleD/events{/privacy}","received_events_url":"https://api.github.com/users/AdeleD/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AdeleD/react-paginate","description":"A ReactJS component that creates a pagination","fork":false,"url":"https://api.github.com/repos/AdeleD/react-paginate","forks_url":"https://api.github.com/repos/AdeleD/react-paginate/forks","keys_url":"https://api.github.com/repos/AdeleD/react-paginate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AdeleD/react-paginate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AdeleD/react-paginate/teams","hooks_url":"https://api.github.com/repos/AdeleD/react-paginate/hooks","issue_events_url":"https://api.github.com/repos/AdeleD/react-paginate/issues/events{/number}","events_url":"https://api.github.com/repos/AdeleD/react-paginate/events","assignees_url":"https://api.github.com/repos/AdeleD/react-paginate/assignees{/user}","branches_url":"https://api.github.com/repos/AdeleD/react-paginate/branches{/branch}","tags_url":"https://api.github.com/repos/AdeleD/react-paginate/tags","blobs_url":"https://api.github.com/repos/AdeleD/react-paginate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AdeleD/react-paginate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AdeleD/react-paginate/git/refs{/sha}","trees_url":"https://api.github.com/repos/AdeleD/react-paginate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AdeleD/react-paginate/statuses/{sha}","languages_url":"https://api.github.com/repos/AdeleD/react-paginate/languages","stargazers_url":"https://api.github.com/repos/AdeleD/react-paginate/stargazers","contributors_url":"https://api.github.com/repos/AdeleD/react-paginate/contributors","subscribers_url":"https://api.github.com/repos/AdeleD/react-paginate/subscribers","subscription_url":"https://api.github.com/repos/AdeleD/react-paginate/subscription","commits_url":"https://api.github.com/repos/AdeleD/react-paginate/commits{/sha}","git_commits_url":"https://api.github.com/repos/AdeleD/react-paginate/git/commits{/sha}","comments_url":"https://api.github.com/repos/AdeleD/react-paginate/comments{/number}","issue_comment_url":"https://api.github.com/repos/AdeleD/react-paginate/issues/comments{/number}","contents_url":"https://api.github.com/repos/AdeleD/react-paginate/contents/{+path}","compare_url":"https://api.github.com/repos/AdeleD/react-paginate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AdeleD/react-paginate/merges","archive_url":"https://api.github.com/repos/AdeleD/react-paginate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AdeleD/react-paginate/downloads","issues_url":"https://api.github.com/repos/AdeleD/react-paginate/issues{/number}","pulls_url":"https://api.github.com/repos/AdeleD/react-paginate/pulls{/number}","milestones_url":"https://api.github.com/repos/AdeleD/react-paginate/milestones{/number}","notifications_url":"https://api.github.com/repos/AdeleD/react-paginate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AdeleD/react-paginate/labels{/name}","releases_url":"https://api.github.com/repos/AdeleD/react-paginate/releases{/id}","deployments_url":"https://api.github.com/repos/AdeleD/react-paginate/deployments","created_at":"2014-09-19T14:39:10Z","updated_at":"2016-02-03T16:32:59Z","pushed_at":"2016-02-03T22:03:41Z","git_url":"git://github.com/AdeleD/react-paginate.git","ssh_url":"git@github.com:AdeleD/react-paginate.git","clone_url":"https://github.com/AdeleD/react-paginate.git","svn_url":"https://github.com/AdeleD/react-paginate","homepage":"","size":2952,"stargazers_count":134,"watchers_count":134,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":8,"forks":53,"open_issues":8,"watchers":134,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AdeleD/react-paginate/pulls/43"},"html":{"href":"https://github.com/AdeleD/react-paginate/pull/43"},"issue":{"href":"https://api.github.com/repos/AdeleD/react-paginate/issues/43"},"comments":{"href":"https://api.github.com/repos/AdeleD/react-paginate/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/AdeleD/react-paginate/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/AdeleD/react-paginate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AdeleD/react-paginate/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/AdeleD/react-paginate/statuses/ad6b27621820ec6e7e367b6f575c1c0cab5c5838"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"AdeleD","id":942068,"avatar_url":"https://avatars.githubusercontent.com/u/942068?v=3","gravatar_id":"","url":"https://api.github.com/users/AdeleD","html_url":"https://github.com/AdeleD","followers_url":"https://api.github.com/users/AdeleD/followers","following_url":"https://api.github.com/users/AdeleD/following{/other_user}","gists_url":"https://api.github.com/users/AdeleD/gists{/gist_id}","starred_url":"https://api.github.com/users/AdeleD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdeleD/subscriptions","organizations_url":"https://api.github.com/users/AdeleD/orgs","repos_url":"https://api.github.com/users/AdeleD/repos","events_url":"https://api.github.com/users/AdeleD/events{/privacy}","received_events_url":"https://api.github.com/users/AdeleD/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":1,"changed_files":1}}