{"action":"created","comment":{"url":"https://api.github.com/repos/theKashey/react-imported-component/pulls/comments/244919736","pull_request_review_id":188909654,"id":244919736,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDkxOTczNg==","diff_hunk":"@@ -27,12 +27,14 @@ export const promisify = (fn, context, noReject) => (...args) => new Promise((re\n   });\n });\n \n+const normalizePath = path => path.split(sep).join('/');\n+\n const getRelative = (from, to) => {\n-  const rel = relative(from, to);\n-  if (rel[0] !== '.') {\n-    return '.' + sep + rel;\n-  }\n-  return rel;\n+  // force one unit paths\n+  const rel = normalizePath(relative(from, to));","path":"src/scanForImports.js","position":13,"original_position":13,"commit_id":"7872ce39d0c72e35ba6babd59082ff012ce73828","original_commit_id":"7872ce39d0c72e35ba6babd59082ff012ce73828","user":{"login":"theKashey","id":582410,"node_id":"MDQ6VXNlcjU4MjQxMA==","avatar_url":"https://avatars0.githubusercontent.com/u/582410?v=4","gravatar_id":"","url":"https://api.github.com/users/theKashey","html_url":"https://github.com/theKashey","followers_url":"https://api.github.com/users/theKashey/followers","following_url":"https://api.github.com/users/theKashey/following{/other_user}","gists_url":"https://api.github.com/users/theKashey/gists{/gist_id}","starred_url":"https://api.github.com/users/theKashey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theKashey/subscriptions","organizations_url":"https://api.github.com/users/theKashey/orgs","repos_url":"https://api.github.com/users/theKashey/repos","events_url":"https://api.github.com/users/theKashey/events{/privacy}","received_events_url":"https://api.github.com/users/theKashey/received_events","type":"User","site_admin":false},"body":"always unix paths.","created_at":"2019-01-03T06:41:10Z","updated_at":"2019-01-03T06:41:10Z","html_url":"https://github.com/theKashey/react-imported-component/pull/55#discussion_r244919736","pull_request_url":"https://api.github.com/repos/theKashey/react-imported-component/pulls/55","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/theKashey/react-imported-component/pulls/comments/244919736"},"html":{"href":"https://github.com/theKashey/react-imported-component/pull/55#discussion_r244919736"},"pull_request":{"href":"https://api.github.com/repos/theKashey/react-imported-component/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/theKashey/react-imported-component/pulls/55","id":241915691,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxOTE1Njkx","html_url":"https://github.com/theKashey/react-imported-component/pull/55","diff_url":"https://github.com/theKashey/react-imported-component/pull/55.diff","patch_url":"https://github.com/theKashey/react-imported-component/pull/55.patch","issue_url":"https://api.github.com/repos/theKashey/react-imported-component/issues/55","number":55,"state":"open","locked":false,"title":"Import file generation on windows","user":{"login":"theKashey","id":582410,"node_id":"MDQ6VXNlcjU4MjQxMA==","avatar_url":"https://avatars0.githubusercontent.com/u/582410?v=4","gravatar_id":"","url":"https://api.github.com/users/theKashey","html_url":"https://github.com/theKashey","followers_url":"https://api.github.com/users/theKashey/followers","following_url":"https://api.github.com/users/theKashey/following{/other_user}","gists_url":"https://api.github.com/users/theKashey/gists{/gist_id}","starred_url":"https://api.github.com/users/theKashey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theKashey/subscriptions","organizations_url":"https://api.github.com/users/theKashey/orgs","repos_url":"https://api.github.com/users/theKashey/repos","events_url":"https://api.github.com/users/theKashey/events{/privacy}","received_events_url":"https://api.github.com/users/theKashey/received_events","type":"User","site_admin":false},"body":"fixes #53\r\n- path generation\r\n- self-scanning","created_at":"2019-01-03T06:40:56Z","updated_at":"2019-01-03T06:41:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41a342dfa94fa00de0f92860447869744f81a305","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/theKashey/react-imported-component/pulls/55/commits","review_comments_url":"https://api.github.com/repos/theKashey/react-imported-component/pulls/55/comments","review_comment_url":"https://api.github.com/repos/theKashey/react-imported-component/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theKashey/react-imported-component/issues/55/comments","statuses_url":"https://api.github.com/repos/theKashey/react-imported-component/statuses/7872ce39d0c72e35ba6babd59082ff012ce73828","head":{"label":"theKashey:fix-windows","ref":"fix-windows","sha":"7872ce39d0c72e35ba6babd59082ff012ce73828","user":{"login":"theKashey","id":582410,"node_id":"MDQ6VXNlcjU4MjQxMA==","avatar_url":"https://avatars0.githubusercontent.com/u/582410?v=4","gravatar_id":"","url":"https://api.github.com/users/theKashey","html_url":"https://github.com/theKashey","followers_url":"https://api.github.com/users/theKashey/followers","following_url":"https://api.github.com/users/theKashey/following{/other_user}","gists_url":"https://api.github.com/users/theKashey/gists{/gist_id}","starred_url":"https://api.github.com/users/theKashey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theKashey/subscriptions","organizations_url":"https://api.github.com/users/theKashey/orgs","repos_url":"https://api.github.com/users/theKashey/repos","events_url":"https://api.github.com/users/theKashey/events{/privacy}","received_events_url":"https://api.github.com/users/theKashey/received_events","type":"User","site_admin":false},"repo":{"id":97834671,"node_id":"MDEwOlJlcG9zaXRvcnk5NzgzNDY3MQ==","name":"react-imported-component","full_name":"theKashey/react-imported-component","private":false,"owner":{"login":"theKashey","id":582410,"node_id":"MDQ6VXNlcjU4MjQxMA==","avatar_url":"https://avatars0.githubusercontent.com/u/582410?v=4","gravatar_id":"","url":"https://api.github.com/users/theKashey","html_url":"https://github.com/theKashey","followers_url":"https://api.github.com/users/theKashey/followers","following_url":"https://api.github.com/users/theKashey/following{/other_user}","gists_url":"https://api.github.com/users/theKashey/gists{/gist_id}","starred_url":"https://api.github.com/users/theKashey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theKashey/subscriptions","organizations_url":"https://api.github.com/users/theKashey/orgs","repos_url":"https://api.github.com/users/theKashey/repos","events_url":"https://api.github.com/users/theKashey/events{/privacy}","received_events_url":"https://api.github.com/users/theKashey/received_events","type":"User","site_admin":false},"html_url":"https://github.com/theKashey/react-imported-component","description":"Bundler-independent solution for any deferred component for better SSR, Code-splitting, and React-Hot-Loader. With no ✨ inside.","fork":false,"url":"https://api.github.com/repos/theKashey/react-imported-component","forks_url":"https://api.github.com/repos/theKashey/react-imported-component/forks","keys_url":"https://api.github.com/repos/theKashey/react-imported-component/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theKashey/react-imported-component/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theKashey/react-imported-component/teams","hooks_url":"https://api.github.com/repos/theKashey/react-imported-component/hooks","issue_events_url":"https://api.github.com/repos/theKashey/react-imported-component/issues/events{/number}","events_url":"https://api.github.com/repos/theKashey/react-imported-component/events","assignees_url":"https://api.github.com/repos/theKashey/react-imported-component/assignees{/user}","branches_url":"https://api.github.com/repos/theKashey/react-imported-component/branches{/branch}","tags_url":"https://api.github.com/repos/theKashey/react-imported-component/tags","blobs_url":"https://api.github.com/repos/theKashey/react-imported-component/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theKashey/react-imported-component/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theKashey/react-imported-component/git/refs{/sha}","trees_url":"https://api.github.com/repos/theKashey/react-imported-component/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theKashey/react-imported-component/statuses/{sha}","languages_url":"https://api.github.com/repos/theKashey/react-imported-component/languages","stargazers_url":"https://api.github.com/repos/theKashey/react-imported-component/stargazers","contributors_url":"https://api.github.com/repos/theKashey/react-imported-component/contributors","subscribers_url":"https://api.github.com/repos/theKashey/react-imported-component/subscribers","subscription_url":"https://api.github.com/repos/theKashey/react-imported-component/subscription","commits_url":"https://api.github.com/repos/theKashey/react-imported-component/commits{/sha}","git_commits_url":"https://api.github.com/repos/theKashey/react-imported-component/git/commits{/sha}","comments_url":"https://api.github.com/repos/theKashey/react-imported-component/comments{/number}","issue_comment_url":"https://api.github.com/repos/theKashey/react-imported-component/issues/comments{/number}","contents_url":"https://api.github.com/repos/theKashey/react-imported-component/contents/{+path}","compare_url":"https://api.github.com/repos/theKashey/react-imported-component/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theKashey/react-imported-component/merges","archive_url":"https://api.github.com/repos/theKashey/react-imported-component/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theKashey/react-imported-component/downloads","issues_url":"https://api.github.com/repos/theKashey/react-imported-component/issues{/number}","pulls_url":"https://api.github.com/repos/theKashey/react-imported-component/pulls{/number}","milestones_url":"https://api.github.com/repos/theKashey/react-imported-component/milestones{/number}","notifications_url":"https://api.github.com/repos/theKashey/react-imported-component/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theKashey/react-imported-component/labels{/name}","releases_url":"https://api.github.com/repos/theKashey/react-imported-component/releases{/id}","deployments_url":"https://api.github.com/repos/theKashey/react-imported-component/deployments","created_at":"2017-07-20T12:49:45Z","updated_at":"2019-01-02T12:00:47Z","pushed_at":"2019-01-03T06:40:57Z","git_url":"git://github.com/theKashey/react-imported-component.git","ssh_url":"git@github.com:theKashey/react-imported-component.git","clone_url":"https://github.com/theKashey/react-imported-component.git","svn_url":"https://github.com/theKashey/react-imported-component","homepage":"","size":2776,"stargazers_count":183,"watchers_count":183,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":17,"open_issues":20,"watchers":183,"default_branch":"master"}},"base":{"label":"theKashey:master","ref":"master","sha":"ac732aae42326504a0f83a782f71bf62d3dd0b6d","user":{"login":"theKashey","id":582410,"node_id":"MDQ6VXNlcjU4MjQxMA==","avatar_url":"https://avatars0.githubusercontent.com/u/582410?v=4","gravatar_id":"","url":"https://api.github.com/users/theKashey","html_url":"https://github.com/theKashey","followers_url":"https://api.github.com/users/theKashey/followers","following_url":"https://api.github.com/users/theKashey/following{/other_user}","gists_url":"https://api.github.com/users/theKashey/gists{/gist_id}","starred_url":"https://api.github.com/users/theKashey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theKashey/subscriptions","organizations_url":"https://api.github.com/users/theKashey/orgs","repos_url":"https://api.github.com/users/theKashey/repos","events_url":"https://api.github.com/users/theKashey/events{/privacy}","received_events_url":"https://api.github.com/users/theKashey/received_events","type":"User","site_admin":false},"repo":{"id":97834671,"node_id":"MDEwOlJlcG9zaXRvcnk5NzgzNDY3MQ==","name":"react-imported-component","full_name":"theKashey/react-imported-component","private":false,"owner":{"login":"theKashey","id":582410,"node_id":"MDQ6VXNlcjU4MjQxMA==","avatar_url":"https://avatars0.githubusercontent.com/u/582410?v=4","gravatar_id":"","url":"https://api.github.com/users/theKashey","html_url":"https://github.com/theKashey","followers_url":"https://api.github.com/users/theKashey/followers","following_url":"https://api.github.com/users/theKashey/following{/other_user}","gists_url":"https://api.github.com/users/theKashey/gists{/gist_id}","starred_url":"https://api.github.com/users/theKashey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theKashey/subscriptions","organizations_url":"https://api.github.com/users/theKashey/orgs","repos_url":"https://api.github.com/users/theKashey/repos","events_url":"https://api.github.com/users/theKashey/events{/privacy}","received_events_url":"https://api.github.com/users/theKashey/received_events","type":"User","site_admin":false},"html_url":"https://github.com/theKashey/react-imported-component","description":"Bundler-independent solution for any deferred component for better SSR, Code-splitting, and React-Hot-Loader. With no ✨ inside.","fork":false,"url":"https://api.github.com/repos/theKashey/react-imported-component","forks_url":"https://api.github.com/repos/theKashey/react-imported-component/forks","keys_url":"https://api.github.com/repos/theKashey/react-imported-component/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theKashey/react-imported-component/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theKashey/react-imported-component/teams","hooks_url":"https://api.github.com/repos/theKashey/react-imported-component/hooks","issue_events_url":"https://api.github.com/repos/theKashey/react-imported-component/issues/events{/number}","events_url":"https://api.github.com/repos/theKashey/react-imported-component/events","assignees_url":"https://api.github.com/repos/theKashey/react-imported-component/assignees{/user}","branches_url":"https://api.github.com/repos/theKashey/react-imported-component/branches{/branch}","tags_url":"https://api.github.com/repos/theKashey/react-imported-component/tags","blobs_url":"https://api.github.com/repos/theKashey/react-imported-component/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theKashey/react-imported-component/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theKashey/react-imported-component/git/refs{/sha}","trees_url":"https://api.github.com/repos/theKashey/react-imported-component/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theKashey/react-imported-component/statuses/{sha}","languages_url":"https://api.github.com/repos/theKashey/react-imported-component/languages","stargazers_url":"https://api.github.com/repos/theKashey/react-imported-component/stargazers","contributors_url":"https://api.github.com/repos/theKashey/react-imported-component/contributors","subscribers_url":"https://api.github.com/repos/theKashey/react-imported-component/subscribers","subscription_url":"https://api.github.com/repos/theKashey/react-imported-component/subscription","commits_url":"https://api.github.com/repos/theKashey/react-imported-component/commits{/sha}","git_commits_url":"https://api.github.com/repos/theKashey/react-imported-component/git/commits{/sha}","comments_url":"https://api.github.com/repos/theKashey/react-imported-component/comments{/number}","issue_comment_url":"https://api.github.com/repos/theKashey/react-imported-component/issues/comments{/number}","contents_url":"https://api.github.com/repos/theKashey/react-imported-component/contents/{+path}","compare_url":"https://api.github.com/repos/theKashey/react-imported-component/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theKashey/react-imported-component/merges","archive_url":"https://api.github.com/repos/theKashey/react-imported-component/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theKashey/react-imported-component/downloads","issues_url":"https://api.github.com/repos/theKashey/react-imported-component/issues{/number}","pulls_url":"https://api.github.com/repos/theKashey/react-imported-component/pulls{/number}","milestones_url":"https://api.github.com/repos/theKashey/react-imported-component/milestones{/number}","notifications_url":"https://api.github.com/repos/theKashey/react-imported-component/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theKashey/react-imported-component/labels{/name}","releases_url":"https://api.github.com/repos/theKashey/react-imported-component/releases{/id}","deployments_url":"https://api.github.com/repos/theKashey/react-imported-component/deployments","created_at":"2017-07-20T12:49:45Z","updated_at":"2019-01-02T12:00:47Z","pushed_at":"2019-01-03T06:40:57Z","git_url":"git://github.com/theKashey/react-imported-component.git","ssh_url":"git@github.com:theKashey/react-imported-component.git","clone_url":"https://github.com/theKashey/react-imported-component.git","svn_url":"https://github.com/theKashey/react-imported-component","homepage":"","size":2776,"stargazers_count":183,"watchers_count":183,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":17,"open_issues":20,"watchers":183,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theKashey/react-imported-component/pulls/55"},"html":{"href":"https://github.com/theKashey/react-imported-component/pull/55"},"issue":{"href":"https://api.github.com/repos/theKashey/react-imported-component/issues/55"},"comments":{"href":"https://api.github.com/repos/theKashey/react-imported-component/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/theKashey/react-imported-component/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/theKashey/react-imported-component/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theKashey/react-imported-component/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/theKashey/react-imported-component/statuses/7872ce39d0c72e35ba6babd59082ff012ce73828"}},"author_association":"OWNER"}}
{"actor":{"display_login":"theKashey"}}