Remove unused `github-app_repositories` value from hubot brain

This commit is contained in:
Pedro Pombeiro 2018-01-21 01:09:29 +01:00
parent e925a21601
commit 490c7f38b5
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
1 changed files with 0 additions and 2 deletions

View File

@ -30,7 +30,6 @@ module.exports = function(robot) {
robot.brain.set('github-app_install-payload', JSON.stringify(githubPayload));
robot.brain.set('github-app_id', githubPayload.installation.app_id);
robot.brain.set('github-app_repositories', githubPayload.repositories.map((x) => x.full_name).join());
gitHubContext.initialize(robot, githubPayload.installation.app_id);
@ -52,7 +51,6 @@ module.exports = function(robot) {
robot.brain.set('github-app_id', null);
robot.brain.set('github-app_install-payload', null);
robot.brain.set('github-app_repositories', null);
robot.brain.set('github-token', null);
process.env.HUBOT_GITHUB_TOKEN = null;
break;