{"action":"created","comment":{"url":"https://api.github.com/repos/Codeception/CodeceptJS/pulls/comments/219134282","pull_request_review_id":157233338,"id":219134282,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTEzNDI4Mg==","diff_hunk":"@@ -14,6 +14,9 @@ const defaultConfig = {\n   hooks: [],\n   gherkin: {},\n   plugins: {\n+    allure: {\n+      outputDir: './_output',","path":"lib/config.js","position":5,"original_position":5,"commit_id":"5a56ad6d30845bfd3b123563c0c8865943587fdb","original_commit_id":"8a1ac929075dbffb78af71dfc7684e7b7fd1ae5c","user":{"login":"DavertMik","id":220264,"node_id":"MDQ6VXNlcjIyMDI2NA==","avatar_url":"https://avatars0.githubusercontent.com/u/220264?v=4","gravatar_id":"","url":"https://api.github.com/users/DavertMik","html_url":"https://github.com/DavertMik","followers_url":"https://api.github.com/users/DavertMik/followers","following_url":"https://api.github.com/users/DavertMik/following{/other_user}","gists_url":"https://api.github.com/users/DavertMik/gists{/gist_id}","starred_url":"https://api.github.com/users/DavertMik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavertMik/subscriptions","organizations_url":"https://api.github.com/users/DavertMik/orgs","repos_url":"https://api.github.com/users/DavertMik/repos","events_url":"https://api.github.com/users/DavertMik/events{/privacy}","received_events_url":"https://api.github.com/users/DavertMik/received_events","type":"User","site_admin":false},"body":"Yeah, inside plugin function you receive the `config` variable. What you can do there is to merge default values with those received in config:\r\n\r\n```js\r\nconst defaultConfig = {\r\n  outputDir: './output',\r\n};\r\n\r\nmodule.exports = (config) => {\r\n  config = Object.assign(defaultConfig, config);\r\n   //...\r\n}\r\n```","created_at":"2018-09-20T11:56:12Z","updated_at":"2018-09-20T11:56:12Z","html_url":"https://github.com/Codeception/CodeceptJS/pull/1218#discussion_r219134282","pull_request_url":"https://api.github.com/repos/Codeception/CodeceptJS/pulls/1218","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Codeception/CodeceptJS/pulls/comments/219134282"},"html":{"href":"https://github.com/Codeception/CodeceptJS/pull/1218#discussion_r219134282"},"pull_request":{"href":"https://api.github.com/repos/Codeception/CodeceptJS/pulls/1218"}},"in_reply_to_id":219095112},"pull_request":{"url":"https://api.github.com/repos/Codeception/CodeceptJS/pulls/1218","id":216872773,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2ODcyNzcz","html_url":"https://github.com/Codeception/CodeceptJS/pull/1218","diff_url":"https://github.com/Codeception/CodeceptJS/pull/1218.diff","patch_url":"https://github.com/Codeception/CodeceptJS/pull/1218.patch","issue_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/1218","number":1218,"state":"open","locked":false,"title":"fixed the allure report dir","user":{"login":"PeterNgTr","id":7845001,"node_id":"MDQ6VXNlcjc4NDUwMDE=","avatar_url":"https://avatars0.githubusercontent.com/u/7845001?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterNgTr","html_url":"https://github.com/PeterNgTr","followers_url":"https://api.github.com/users/PeterNgTr/followers","following_url":"https://api.github.com/users/PeterNgTr/following{/other_user}","gists_url":"https://api.github.com/users/PeterNgTr/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterNgTr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterNgTr/subscriptions","organizations_url":"https://api.github.com/users/PeterNgTr/orgs","repos_url":"https://api.github.com/users/PeterNgTr/repos","events_url":"https://api.github.com/users/PeterNgTr/events{/privacy}","received_events_url":"https://api.github.com/users/PeterNgTr/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-20T07:40:00Z","updated_at":"2018-09-20T11:56:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de3736194cb5ee4b3fd1332addae815868541fd4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Codeception/CodeceptJS/pulls/1218/commits","review_comments_url":"https://api.github.com/repos/Codeception/CodeceptJS/pulls/1218/comments","review_comment_url":"https://api.github.com/repos/Codeception/CodeceptJS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/1218/comments","statuses_url":"https://api.github.com/repos/Codeception/CodeceptJS/statuses/5a56ad6d30845bfd3b123563c0c8865943587fdb","head":{"label":"PeterNgTr:bug-fix/allure-output-dir","ref":"bug-fix/allure-output-dir","sha":"5a56ad6d30845bfd3b123563c0c8865943587fdb","user":{"login":"PeterNgTr","id":7845001,"node_id":"MDQ6VXNlcjc4NDUwMDE=","avatar_url":"https://avatars0.githubusercontent.com/u/7845001?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterNgTr","html_url":"https://github.com/PeterNgTr","followers_url":"https://api.github.com/users/PeterNgTr/followers","following_url":"https://api.github.com/users/PeterNgTr/following{/other_user}","gists_url":"https://api.github.com/users/PeterNgTr/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterNgTr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterNgTr/subscriptions","organizations_url":"https://api.github.com/users/PeterNgTr/orgs","repos_url":"https://api.github.com/users/PeterNgTr/repos","events_url":"https://api.github.com/users/PeterNgTr/events{/privacy}","received_events_url":"https://api.github.com/users/PeterNgTr/received_events","type":"User","site_admin":false},"repo":{"id":149477984,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk0Nzc5ODQ=","name":"CodeceptJS","full_name":"PeterNgTr/CodeceptJS","private":false,"owner":{"login":"PeterNgTr","id":7845001,"node_id":"MDQ6VXNlcjc4NDUwMDE=","avatar_url":"https://avatars0.githubusercontent.com/u/7845001?v=4","gravatar_id":"","url":"https://api.github.com/users/PeterNgTr","html_url":"https://github.com/PeterNgTr","followers_url":"https://api.github.com/users/PeterNgTr/followers","following_url":"https://api.github.com/users/PeterNgTr/following{/other_user}","gists_url":"https://api.github.com/users/PeterNgTr/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterNgTr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterNgTr/subscriptions","organizations_url":"https://api.github.com/users/PeterNgTr/orgs","repos_url":"https://api.github.com/users/PeterNgTr/repos","events_url":"https://api.github.com/users/PeterNgTr/events{/privacy}","received_events_url":"https://api.github.com/users/PeterNgTr/received_events","type":"User","site_admin":false},"html_url":"https://github.com/PeterNgTr/CodeceptJS","description":"Modern Era Acceptance Testing Framework for NodeJS","fork":true,"url":"https://api.github.com/repos/PeterNgTr/CodeceptJS","forks_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/forks","keys_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/teams","hooks_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/hooks","issue_events_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/issues/events{/number}","events_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/events","assignees_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/assignees{/user}","branches_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/branches{/branch}","tags_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/tags","blobs_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/git/refs{/sha}","trees_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/statuses/{sha}","languages_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/languages","stargazers_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/stargazers","contributors_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/contributors","subscribers_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/subscribers","subscription_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/subscription","commits_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/commits{/sha}","git_commits_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/git/commits{/sha}","comments_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/comments{/number}","issue_comment_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/issues/comments{/number}","contents_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/contents/{+path}","compare_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/merges","archive_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/downloads","issues_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/issues{/number}","pulls_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/pulls{/number}","milestones_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/milestones{/number}","notifications_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/labels{/name}","releases_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/releases{/id}","deployments_url":"https://api.github.com/repos/PeterNgTr/CodeceptJS/deployments","created_at":"2018-09-19T16:09:47Z","updated_at":"2018-09-19T16:09:50Z","pushed_at":"2018-09-20T10:40:23Z","git_url":"git://github.com/PeterNgTr/CodeceptJS.git","ssh_url":"git@github.com:PeterNgTr/CodeceptJS.git","clone_url":"https://github.com/PeterNgTr/CodeceptJS.git","svn_url":"https://github.com/PeterNgTr/CodeceptJS","homepage":"http://codecept.io","size":27363,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Codeception:master","ref":"master","sha":"88be97ad032810ba72b83858aa23625c33e19050","user":{"login":"Codeception","id":1288753,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyODg3NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/1288753?v=4","gravatar_id":"","url":"https://api.github.com/users/Codeception","html_url":"https://github.com/Codeception","followers_url":"https://api.github.com/users/Codeception/followers","following_url":"https://api.github.com/users/Codeception/following{/other_user}","gists_url":"https://api.github.com/users/Codeception/gists{/gist_id}","starred_url":"https://api.github.com/users/Codeception/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Codeception/subscriptions","organizations_url":"https://api.github.com/users/Codeception/orgs","repos_url":"https://api.github.com/users/Codeception/repos","events_url":"https://api.github.com/users/Codeception/events{/privacy}","received_events_url":"https://api.github.com/users/Codeception/received_events","type":"Organization","site_admin":false},"repo":{"id":46641250,"node_id":"MDEwOlJlcG9zaXRvcnk0NjY0MTI1MA==","name":"CodeceptJS","full_name":"Codeception/CodeceptJS","private":false,"owner":{"login":"Codeception","id":1288753,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyODg3NTM=","avatar_url":"https://avatars2.githubusercontent.com/u/1288753?v=4","gravatar_id":"","url":"https://api.github.com/users/Codeception","html_url":"https://github.com/Codeception","followers_url":"https://api.github.com/users/Codeception/followers","following_url":"https://api.github.com/users/Codeception/following{/other_user}","gists_url":"https://api.github.com/users/Codeception/gists{/gist_id}","starred_url":"https://api.github.com/users/Codeception/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Codeception/subscriptions","organizations_url":"https://api.github.com/users/Codeception/orgs","repos_url":"https://api.github.com/users/Codeception/repos","events_url":"https://api.github.com/users/Codeception/events{/privacy}","received_events_url":"https://api.github.com/users/Codeception/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Codeception/CodeceptJS","description":"Modern Era Acceptance Testing Framework for NodeJS","fork":false,"url":"https://api.github.com/repos/Codeception/CodeceptJS","forks_url":"https://api.github.com/repos/Codeception/CodeceptJS/forks","keys_url":"https://api.github.com/repos/Codeception/CodeceptJS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Codeception/CodeceptJS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Codeception/CodeceptJS/teams","hooks_url":"https://api.github.com/repos/Codeception/CodeceptJS/hooks","issue_events_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/events{/number}","events_url":"https://api.github.com/repos/Codeception/CodeceptJS/events","assignees_url":"https://api.github.com/repos/Codeception/CodeceptJS/assignees{/user}","branches_url":"https://api.github.com/repos/Codeception/CodeceptJS/branches{/branch}","tags_url":"https://api.github.com/repos/Codeception/CodeceptJS/tags","blobs_url":"https://api.github.com/repos/Codeception/CodeceptJS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Codeception/CodeceptJS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Codeception/CodeceptJS/git/refs{/sha}","trees_url":"https://api.github.com/repos/Codeception/CodeceptJS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Codeception/CodeceptJS/statuses/{sha}","languages_url":"https://api.github.com/repos/Codeception/CodeceptJS/languages","stargazers_url":"https://api.github.com/repos/Codeception/CodeceptJS/stargazers","contributors_url":"https://api.github.com/repos/Codeception/CodeceptJS/contributors","subscribers_url":"https://api.github.com/repos/Codeception/CodeceptJS/subscribers","subscription_url":"https://api.github.com/repos/Codeception/CodeceptJS/subscription","commits_url":"https://api.github.com/repos/Codeception/CodeceptJS/commits{/sha}","git_commits_url":"https://api.github.com/repos/Codeception/CodeceptJS/git/commits{/sha}","comments_url":"https://api.github.com/repos/Codeception/CodeceptJS/comments{/number}","issue_comment_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues/comments{/number}","contents_url":"https://api.github.com/repos/Codeception/CodeceptJS/contents/{+path}","compare_url":"https://api.github.com/repos/Codeception/CodeceptJS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Codeception/CodeceptJS/merges","archive_url":"https://api.github.com/repos/Codeception/CodeceptJS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Codeception/CodeceptJS/downloads","issues_url":"https://api.github.com/repos/Codeception/CodeceptJS/issues{/number}","pulls_url":"https://api.github.com/repos/Codeception/CodeceptJS/pulls{/number}","milestones_url":"https://api.github.com/repos/Codeception/CodeceptJS/milestones{/number}","notifications_url":"https://api.github.com/repos/Codeception/CodeceptJS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Codeception/CodeceptJS/labels{/name}","releases_url":"https://api.github.com/repos/Codeception/CodeceptJS/releases{/id}","deployments_url":"https://api.github.com/repos/Codeception/CodeceptJS/deployments","created_at":"2015-11-22T01:14:36Z","updated_at":"2018-09-20T03:13:53Z","pushed_at":"2018-09-20T10:40:25Z","git_url":"git://github.com/Codeception/CodeceptJS.git","ssh_url":"git@github.com:Codeception/CodeceptJS.git","clone_url":"https://github.com/Codeception/CodeceptJS.git","svn_url":"https://github.com/Codeception/CodeceptJS","homepage":"http://codecept.io","size":27353,"stargazers_count":1859,"watchers_count":1859,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":285,"mirror_url":null,"archived":false,"open_issues_count":165,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":285,"open_issues":165,"watchers":1859,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Codeception/CodeceptJS/pulls/1218"},"html":{"href":"https://github.com/Codeception/CodeceptJS/pull/1218"},"issue":{"href":"https://api.github.com/repos/Codeception/CodeceptJS/issues/1218"},"comments":{"href":"https://api.github.com/repos/Codeception/CodeceptJS/issues/1218/comments"},"review_comments":{"href":"https://api.github.com/repos/Codeception/CodeceptJS/pulls/1218/comments"},"review_comment":{"href":"https://api.github.com/repos/Codeception/CodeceptJS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Codeception/CodeceptJS/pulls/1218/commits"},"statuses":{"href":"https://api.github.com/repos/Codeception/CodeceptJS/statuses/5a56ad6d30845bfd3b123563c0c8865943587fdb"}},"author_association":"NONE"}}
{"actor":{"display_login":"DavertMik"}}