{"action":"created","comment":{"url":"https://api.github.com/repos/MysteriumNetwork/mysterion/pulls/comments/211570215","pull_request_review_id":148014334,"id":211570215,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTU3MDIxNQ==","diff_hunk":"@@ -0,0 +1,33 @@\n+/*\n+ * Copyright (C) 2018 The \"MysteriumNetwork/mysterion\" Authors.\n+ *\n+ * This program is free software: you can redistribute it and/or modify\n+ * it under the terms of the GNU General Public License as published by\n+ * the Free Software Foundation, either version 3 of the License, or\n+ * (at your option) any later version.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ * GNU General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU General Public License\n+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.\n+ */\n+\n+const fs = require('fs')\n+\n+function readFeatures (path) {\n+  if (!fs.existsSync(path)) {\n+    throw new Error(`Feature file doesn't exist in \"${path}\"`)\n+  }\n+\n+  try {\n+    return JSON.parse(fs.readFileSync(path).toString())\n+  } catch (e) {\n+  }\n+\n+  throw new Error('Unable to parse \"' + path + '\" feature file')","path":"src/app/features/read-features.js","position":30,"original_position":30,"commit_id":"9ef738b658fd965e463357d3e005d2d86ba3d689","original_commit_id":"9ef738b658fd965e463357d3e005d2d86ba3d689","user":{"login":"shroomist","id":95058,"node_id":"MDQ6VXNlcjk1MDU4","avatar_url":"https://avatars3.githubusercontent.com/u/95058?v=4","gravatar_id":"","url":"https://api.github.com/users/shroomist","html_url":"https://github.com/shroomist","followers_url":"https://api.github.com/users/shroomist/followers","following_url":"https://api.github.com/users/shroomist/following{/other_user}","gists_url":"https://api.github.com/users/shroomist/gists{/gist_id}","starred_url":"https://api.github.com/users/shroomist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shroomist/subscriptions","organizations_url":"https://api.github.com/users/shroomist/orgs","repos_url":"https://api.github.com/users/shroomist/repos","events_url":"https://api.github.com/users/shroomist/events{/privacy}","received_events_url":"https://api.github.com/users/shroomist/received_events","type":"User","site_admin":false},"body":"this should be thrown at L:27","created_at":"2018-08-21T11:30:33Z","updated_at":"2018-08-21T11:42:46Z","html_url":"https://github.com/MysteriumNetwork/mysterion/pull/266#discussion_r211570215","pull_request_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/pulls/266","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/MysteriumNetwork/mysterion/pulls/comments/211570215"},"html":{"href":"https://github.com/MysteriumNetwork/mysterion/pull/266#discussion_r211570215"},"pull_request":{"href":"https://api.github.com/repos/MysteriumNetwork/mysterion/pulls/266"}}},"pull_request":{"url":"https://api.github.com/repos/MysteriumNetwork/mysterion/pulls/266","id":206393169,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MzkzMTY5","html_url":"https://github.com/MysteriumNetwork/mysterion/pull/266","diff_url":"https://github.com/MysteriumNetwork/mysterion/pull/266.diff","patch_url":"https://github.com/MysteriumNetwork/mysterion/pull/266.patch","issue_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/issues/266","number":266,"state":"open","locked":false,"title":"[MYS-148] Feature toggle","user":{"login":"ignasbernotas","id":402965,"node_id":"MDQ6VXNlcjQwMjk2NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/402965?v=4","gravatar_id":"","url":"https://api.github.com/users/ignasbernotas","html_url":"https://github.com/ignasbernotas","followers_url":"https://api.github.com/users/ignasbernotas/followers","following_url":"https://api.github.com/users/ignasbernotas/following{/other_user}","gists_url":"https://api.github.com/users/ignasbernotas/gists{/gist_id}","starred_url":"https://api.github.com/users/ignasbernotas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ignasbernotas/subscriptions","organizations_url":"https://api.github.com/users/ignasbernotas/orgs","repos_url":"https://api.github.com/users/ignasbernotas/repos","events_url":"https://api.github.com/users/ignasbernotas/events{/privacy}","received_events_url":"https://api.github.com/users/ignasbernotas/received_events","type":"User","site_admin":false},"body":"https://mysteriumnetwork.atlassian.net/browse/MYS-148\r\n","created_at":"2018-08-06T13:07:56Z","updated_at":"2018-08-21T11:42:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f63d8293a35ab94a2bc1974d5ed2ea647114324","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Waldz","id":2713911,"node_id":"MDQ6VXNlcjI3MTM5MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/2713911?v=4","gravatar_id":"","url":"https://api.github.com/users/Waldz","html_url":"https://github.com/Waldz","followers_url":"https://api.github.com/users/Waldz/followers","following_url":"https://api.github.com/users/Waldz/following{/other_user}","gists_url":"https://api.github.com/users/Waldz/gists{/gist_id}","starred_url":"https://api.github.com/users/Waldz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Waldz/subscriptions","organizations_url":"https://api.github.com/users/Waldz/orgs","repos_url":"https://api.github.com/users/Waldz/repos","events_url":"https://api.github.com/users/Waldz/events{/privacy}","received_events_url":"https://api.github.com/users/Waldz/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":990692857,"node_id":"MDU6TGFiZWw5OTA2OTI4NTc=","url":"https://api.github.com/repos/MysteriumNetwork/mysterion/labels/Needs%20feedback","name":"Needs feedback","color":"1ca06e","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/pulls/266/commits","review_comments_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/pulls/266/comments","review_comment_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/issues/266/comments","statuses_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/statuses/9ef738b658fd965e463357d3e005d2d86ba3d689","head":{"label":"MysteriumNetwork:feature/MYS-148-feature-toggle","ref":"feature/MYS-148-feature-toggle","sha":"9ef738b658fd965e463357d3e005d2d86ba3d689","user":{"login":"MysteriumNetwork","id":23056638,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDU2NjM4","avatar_url":"https://avatars3.githubusercontent.com/u/23056638?v=4","gravatar_id":"","url":"https://api.github.com/users/MysteriumNetwork","html_url":"https://github.com/MysteriumNetwork","followers_url":"https://api.github.com/users/MysteriumNetwork/followers","following_url":"https://api.github.com/users/MysteriumNetwork/following{/other_user}","gists_url":"https://api.github.com/users/MysteriumNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/MysteriumNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MysteriumNetwork/subscriptions","organizations_url":"https://api.github.com/users/MysteriumNetwork/orgs","repos_url":"https://api.github.com/users/MysteriumNetwork/repos","events_url":"https://api.github.com/users/MysteriumNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/MysteriumNetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":112330860,"node_id":"MDEwOlJlcG9zaXRvcnkxMTIzMzA4NjA=","name":"mysterion","full_name":"MysteriumNetwork/mysterion","owner":{"login":"MysteriumNetwork","id":23056638,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDU2NjM4","avatar_url":"https://avatars3.githubusercontent.com/u/23056638?v=4","gravatar_id":"","url":"https://api.github.com/users/MysteriumNetwork","html_url":"https://github.com/MysteriumNetwork","followers_url":"https://api.github.com/users/MysteriumNetwork/followers","following_url":"https://api.github.com/users/MysteriumNetwork/following{/other_user}","gists_url":"https://api.github.com/users/MysteriumNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/MysteriumNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MysteriumNetwork/subscriptions","organizations_url":"https://api.github.com/users/MysteriumNetwork/orgs","repos_url":"https://api.github.com/users/MysteriumNetwork/repos","events_url":"https://api.github.com/users/MysteriumNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/MysteriumNetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MysteriumNetwork/mysterion","description":"Mysterion is desktop application to access Mysterion Network - decentralized VPN built on blockchain.","fork":false,"url":"https://api.github.com/repos/MysteriumNetwork/mysterion","forks_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/forks","keys_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/teams","hooks_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/hooks","issue_events_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/issues/events{/number}","events_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/events","assignees_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/assignees{/user}","branches_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/branches{/branch}","tags_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/tags","blobs_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/git/refs{/sha}","trees_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/statuses/{sha}","languages_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/languages","stargazers_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/stargazers","contributors_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/contributors","subscribers_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/subscribers","subscription_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/subscription","commits_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/commits{/sha}","git_commits_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/git/commits{/sha}","comments_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/comments{/number}","issue_comment_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/issues/comments{/number}","contents_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/contents/{+path}","compare_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/merges","archive_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/downloads","issues_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/issues{/number}","pulls_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/pulls{/number}","milestones_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/milestones{/number}","notifications_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/labels{/name}","releases_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/releases{/id}","deployments_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/deployments","created_at":"2017-11-28T12:12:23Z","updated_at":"2018-08-21T11:05:07Z","pushed_at":"2018-08-21T11:28:07Z","git_url":"git://github.com/MysteriumNetwork/mysterion.git","ssh_url":"git@github.com:MysteriumNetwork/mysterion.git","clone_url":"https://github.com/MysteriumNetwork/mysterion.git","svn_url":"https://github.com/MysteriumNetwork/mysterion","homepage":"https://mysterium.network/","size":10969,"stargazers_count":36,"watchers_count":36,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":4,"open_issues":5,"watchers":36,"default_branch":"master"}},"base":{"label":"MysteriumNetwork:master","ref":"master","sha":"1ea959f7da2bb54e50e73abac85111e9f10d443e","user":{"login":"MysteriumNetwork","id":23056638,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDU2NjM4","avatar_url":"https://avatars3.githubusercontent.com/u/23056638?v=4","gravatar_id":"","url":"https://api.github.com/users/MysteriumNetwork","html_url":"https://github.com/MysteriumNetwork","followers_url":"https://api.github.com/users/MysteriumNetwork/followers","following_url":"https://api.github.com/users/MysteriumNetwork/following{/other_user}","gists_url":"https://api.github.com/users/MysteriumNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/MysteriumNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MysteriumNetwork/subscriptions","organizations_url":"https://api.github.com/users/MysteriumNetwork/orgs","repos_url":"https://api.github.com/users/MysteriumNetwork/repos","events_url":"https://api.github.com/users/MysteriumNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/MysteriumNetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":112330860,"node_id":"MDEwOlJlcG9zaXRvcnkxMTIzMzA4NjA=","name":"mysterion","full_name":"MysteriumNetwork/mysterion","owner":{"login":"MysteriumNetwork","id":23056638,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDU2NjM4","avatar_url":"https://avatars3.githubusercontent.com/u/23056638?v=4","gravatar_id":"","url":"https://api.github.com/users/MysteriumNetwork","html_url":"https://github.com/MysteriumNetwork","followers_url":"https://api.github.com/users/MysteriumNetwork/followers","following_url":"https://api.github.com/users/MysteriumNetwork/following{/other_user}","gists_url":"https://api.github.com/users/MysteriumNetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/MysteriumNetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MysteriumNetwork/subscriptions","organizations_url":"https://api.github.com/users/MysteriumNetwork/orgs","repos_url":"https://api.github.com/users/MysteriumNetwork/repos","events_url":"https://api.github.com/users/MysteriumNetwork/events{/privacy}","received_events_url":"https://api.github.com/users/MysteriumNetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MysteriumNetwork/mysterion","description":"Mysterion is desktop application to access Mysterion Network - decentralized VPN built on blockchain.","fork":false,"url":"https://api.github.com/repos/MysteriumNetwork/mysterion","forks_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/forks","keys_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/teams","hooks_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/hooks","issue_events_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/issues/events{/number}","events_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/events","assignees_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/assignees{/user}","branches_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/branches{/branch}","tags_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/tags","blobs_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/git/refs{/sha}","trees_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/statuses/{sha}","languages_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/languages","stargazers_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/stargazers","contributors_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/contributors","subscribers_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/subscribers","subscription_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/subscription","commits_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/commits{/sha}","git_commits_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/git/commits{/sha}","comments_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/comments{/number}","issue_comment_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/issues/comments{/number}","contents_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/contents/{+path}","compare_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/merges","archive_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/downloads","issues_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/issues{/number}","pulls_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/pulls{/number}","milestones_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/milestones{/number}","notifications_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/labels{/name}","releases_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/releases{/id}","deployments_url":"https://api.github.com/repos/MysteriumNetwork/mysterion/deployments","created_at":"2017-11-28T12:12:23Z","updated_at":"2018-08-21T11:05:07Z","pushed_at":"2018-08-21T11:28:07Z","git_url":"git://github.com/MysteriumNetwork/mysterion.git","ssh_url":"git@github.com:MysteriumNetwork/mysterion.git","clone_url":"https://github.com/MysteriumNetwork/mysterion.git","svn_url":"https://github.com/MysteriumNetwork/mysterion","homepage":"https://mysterium.network/","size":10969,"stargazers_count":36,"watchers_count":36,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":4,"open_issues":5,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MysteriumNetwork/mysterion/pulls/266"},"html":{"href":"https://github.com/MysteriumNetwork/mysterion/pull/266"},"issue":{"href":"https://api.github.com/repos/MysteriumNetwork/mysterion/issues/266"},"comments":{"href":"https://api.github.com/repos/MysteriumNetwork/mysterion/issues/266/comments"},"review_comments":{"href":"https://api.github.com/repos/MysteriumNetwork/mysterion/pulls/266/comments"},"review_comment":{"href":"https://api.github.com/repos/MysteriumNetwork/mysterion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MysteriumNetwork/mysterion/pulls/266/commits"},"statuses":{"href":"https://api.github.com/repos/MysteriumNetwork/mysterion/statuses/9ef738b658fd965e463357d3e005d2d86ba3d689"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"shroomist"}}