{"action":"created","comment":{"url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/pulls/comments/243284800","pull_request_review_id":187012902,"id":243284800,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzI4NDgwMA==","diff_hunk":"@@ -19,7 +73,7 @@ function getImages(products) {\n  * \n  * @param {string} path path of the XML file\n  */\n-module.exports = (path) => {\n+module.exports = (path, objectType) => {","path":"scripts/parseXML.js","position":null,"original_position":86,"commit_id":"847d91e181c5f91eb72bb90a8db0b0cd5b71fac3","original_commit_id":"7c6866619ee8c1bad38e245b0e95f02c27739ad5","user":{"login":"CiprianIstrate","id":43810327,"node_id":"MDQ6VXNlcjQzODEwMzI3","avatar_url":"https://avatars3.githubusercontent.com/u/43810327?v=4","gravatar_id":"","url":"https://api.github.com/users/CiprianIstrate","html_url":"https://github.com/CiprianIstrate","followers_url":"https://api.github.com/users/CiprianIstrate/followers","following_url":"https://api.github.com/users/CiprianIstrate/following{/other_user}","gists_url":"https://api.github.com/users/CiprianIstrate/gists{/gist_id}","starred_url":"https://api.github.com/users/CiprianIstrate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CiprianIstrate/subscriptions","organizations_url":"https://api.github.com/users/CiprianIstrate/orgs","repos_url":"https://api.github.com/users/CiprianIstrate/repos","events_url":"https://api.github.com/users/CiprianIstrate/events{/privacy}","received_events_url":"https://api.github.com/users/CiprianIstrate/received_events","type":"User","site_admin":false},"body":"Separate functions have been created and exported.","created_at":"2018-12-20T14:12:45Z","updated_at":"2018-12-20T14:12:45Z","html_url":"https://github.com/cxq/sfcc-images-cleaner/pull/5#discussion_r243284800","pull_request_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/pulls/5","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/cxq/sfcc-images-cleaner/pulls/comments/243284800"},"html":{"href":"https://github.com/cxq/sfcc-images-cleaner/pull/5#discussion_r243284800"},"pull_request":{"href":"https://api.github.com/repos/cxq/sfcc-images-cleaner/pulls/5"}},"in_reply_to_id":243259960},"pull_request":{"url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/pulls/5","id":239167142,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MTY3MTQy","html_url":"https://github.com/cxq/sfcc-images-cleaner/pull/5","diff_url":"https://github.com/cxq/sfcc-images-cleaner/pull/5.diff","patch_url":"https://github.com/cxq/sfcc-images-cleaner/pull/5.patch","issue_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/issues/5","number":5,"state":"open","locked":false,"title":"Add support for cleaning static content","user":{"login":"CiprianIstrate","id":43810327,"node_id":"MDQ6VXNlcjQzODEwMzI3","avatar_url":"https://avatars3.githubusercontent.com/u/43810327?v=4","gravatar_id":"","url":"https://api.github.com/users/CiprianIstrate","html_url":"https://github.com/CiprianIstrate","followers_url":"https://api.github.com/users/CiprianIstrate/followers","following_url":"https://api.github.com/users/CiprianIstrate/following{/other_user}","gists_url":"https://api.github.com/users/CiprianIstrate/gists{/gist_id}","starred_url":"https://api.github.com/users/CiprianIstrate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CiprianIstrate/subscriptions","organizations_url":"https://api.github.com/users/CiprianIstrate/orgs","repos_url":"https://api.github.com/users/CiprianIstrate/repos","events_url":"https://api.github.com/users/CiprianIstrate/events{/privacy}","received_events_url":"https://api.github.com/users/CiprianIstrate/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-17T14:39:23Z","updated_at":"2018-12-20T14:12:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b6f64d6e76001bd43e38ad7fa1340b7d546a110","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/pulls/5/commits","review_comments_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/pulls/5/comments","review_comment_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/issues/5/comments","statuses_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/statuses/847d91e181c5f91eb72bb90a8db0b0cd5b71fac3","head":{"label":"cxq:content-library-support","ref":"content-library-support","sha":"847d91e181c5f91eb72bb90a8db0b0cd5b71fac3","user":{"login":"cxq","id":1872063,"node_id":"MDQ6VXNlcjE4NzIwNjM=","avatar_url":"https://avatars2.githubusercontent.com/u/1872063?v=4","gravatar_id":"","url":"https://api.github.com/users/cxq","html_url":"https://github.com/cxq","followers_url":"https://api.github.com/users/cxq/followers","following_url":"https://api.github.com/users/cxq/following{/other_user}","gists_url":"https://api.github.com/users/cxq/gists{/gist_id}","starred_url":"https://api.github.com/users/cxq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxq/subscriptions","organizations_url":"https://api.github.com/users/cxq/orgs","repos_url":"https://api.github.com/users/cxq/repos","events_url":"https://api.github.com/users/cxq/events{/privacy}","received_events_url":"https://api.github.com/users/cxq/received_events","type":"User","site_admin":false},"repo":{"id":146001804,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYwMDE4MDQ=","name":"sfcc-images-cleaner","full_name":"cxq/sfcc-images-cleaner","private":false,"owner":{"login":"cxq","id":1872063,"node_id":"MDQ6VXNlcjE4NzIwNjM=","avatar_url":"https://avatars2.githubusercontent.com/u/1872063?v=4","gravatar_id":"","url":"https://api.github.com/users/cxq","html_url":"https://github.com/cxq","followers_url":"https://api.github.com/users/cxq/followers","following_url":"https://api.github.com/users/cxq/following{/other_user}","gists_url":"https://api.github.com/users/cxq/gists{/gist_id}","starred_url":"https://api.github.com/users/cxq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxq/subscriptions","organizations_url":"https://api.github.com/users/cxq/orgs","repos_url":"https://api.github.com/users/cxq/repos","events_url":"https://api.github.com/users/cxq/events{/privacy}","received_events_url":"https://api.github.com/users/cxq/received_events","type":"User","site_admin":false},"html_url":"https://github.com/cxq/sfcc-images-cleaner","description":"SFCC image catalog cleaner to remove the unused images","fork":false,"url":"https://api.github.com/repos/cxq/sfcc-images-cleaner","forks_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/forks","keys_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/teams","hooks_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/hooks","issue_events_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/issues/events{/number}","events_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/events","assignees_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/assignees{/user}","branches_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/branches{/branch}","tags_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/tags","blobs_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/git/refs{/sha}","trees_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/statuses/{sha}","languages_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/languages","stargazers_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/stargazers","contributors_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/contributors","subscribers_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/subscribers","subscription_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/subscription","commits_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/commits{/sha}","git_commits_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/git/commits{/sha}","comments_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/comments{/number}","issue_comment_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/issues/comments{/number}","contents_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/contents/{+path}","compare_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/merges","archive_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/downloads","issues_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/issues{/number}","pulls_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/pulls{/number}","milestones_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/milestones{/number}","notifications_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/labels{/name}","releases_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/releases{/id}","deployments_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/deployments","created_at":"2018-08-24T14:28:52Z","updated_at":"2018-12-14T15:57:36Z","pushed_at":"2018-12-20T14:11:56Z","git_url":"git://github.com/cxq/sfcc-images-cleaner.git","ssh_url":"git@github.com:cxq/sfcc-images-cleaner.git","clone_url":"https://github.com/cxq/sfcc-images-cleaner.git","svn_url":"https://github.com/cxq/sfcc-images-cleaner","homepage":null,"size":71,"stargazers_count":5,"watchers_count":5,"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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":5,"default_branch":"master"}},"base":{"label":"cxq:master","ref":"master","sha":"7b8bc947df9e6292a649bf2c9e4afd01683c55a0","user":{"login":"cxq","id":1872063,"node_id":"MDQ6VXNlcjE4NzIwNjM=","avatar_url":"https://avatars2.githubusercontent.com/u/1872063?v=4","gravatar_id":"","url":"https://api.github.com/users/cxq","html_url":"https://github.com/cxq","followers_url":"https://api.github.com/users/cxq/followers","following_url":"https://api.github.com/users/cxq/following{/other_user}","gists_url":"https://api.github.com/users/cxq/gists{/gist_id}","starred_url":"https://api.github.com/users/cxq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxq/subscriptions","organizations_url":"https://api.github.com/users/cxq/orgs","repos_url":"https://api.github.com/users/cxq/repos","events_url":"https://api.github.com/users/cxq/events{/privacy}","received_events_url":"https://api.github.com/users/cxq/received_events","type":"User","site_admin":false},"repo":{"id":146001804,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYwMDE4MDQ=","name":"sfcc-images-cleaner","full_name":"cxq/sfcc-images-cleaner","private":false,"owner":{"login":"cxq","id":1872063,"node_id":"MDQ6VXNlcjE4NzIwNjM=","avatar_url":"https://avatars2.githubusercontent.com/u/1872063?v=4","gravatar_id":"","url":"https://api.github.com/users/cxq","html_url":"https://github.com/cxq","followers_url":"https://api.github.com/users/cxq/followers","following_url":"https://api.github.com/users/cxq/following{/other_user}","gists_url":"https://api.github.com/users/cxq/gists{/gist_id}","starred_url":"https://api.github.com/users/cxq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxq/subscriptions","organizations_url":"https://api.github.com/users/cxq/orgs","repos_url":"https://api.github.com/users/cxq/repos","events_url":"https://api.github.com/users/cxq/events{/privacy}","received_events_url":"https://api.github.com/users/cxq/received_events","type":"User","site_admin":false},"html_url":"https://github.com/cxq/sfcc-images-cleaner","description":"SFCC image catalog cleaner to remove the unused images","fork":false,"url":"https://api.github.com/repos/cxq/sfcc-images-cleaner","forks_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/forks","keys_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/teams","hooks_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/hooks","issue_events_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/issues/events{/number}","events_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/events","assignees_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/assignees{/user}","branches_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/branches{/branch}","tags_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/tags","blobs_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/git/refs{/sha}","trees_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/statuses/{sha}","languages_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/languages","stargazers_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/stargazers","contributors_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/contributors","subscribers_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/subscribers","subscription_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/subscription","commits_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/commits{/sha}","git_commits_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/git/commits{/sha}","comments_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/comments{/number}","issue_comment_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/issues/comments{/number}","contents_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/contents/{+path}","compare_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/merges","archive_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/downloads","issues_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/issues{/number}","pulls_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/pulls{/number}","milestones_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/milestones{/number}","notifications_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/labels{/name}","releases_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/releases{/id}","deployments_url":"https://api.github.com/repos/cxq/sfcc-images-cleaner/deployments","created_at":"2018-08-24T14:28:52Z","updated_at":"2018-12-14T15:57:36Z","pushed_at":"2018-12-20T14:11:56Z","git_url":"git://github.com/cxq/sfcc-images-cleaner.git","ssh_url":"git@github.com:cxq/sfcc-images-cleaner.git","clone_url":"https://github.com/cxq/sfcc-images-cleaner.git","svn_url":"https://github.com/cxq/sfcc-images-cleaner","homepage":null,"size":71,"stargazers_count":5,"watchers_count":5,"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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cxq/sfcc-images-cleaner/pulls/5"},"html":{"href":"https://github.com/cxq/sfcc-images-cleaner/pull/5"},"issue":{"href":"https://api.github.com/repos/cxq/sfcc-images-cleaner/issues/5"},"comments":{"href":"https://api.github.com/repos/cxq/sfcc-images-cleaner/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/cxq/sfcc-images-cleaner/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/cxq/sfcc-images-cleaner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cxq/sfcc-images-cleaner/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/cxq/sfcc-images-cleaner/statuses/847d91e181c5f91eb72bb90a8db0b0cd5b71fac3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"CiprianIstrate"}}