Skip to content

Commit

Permalink
fix(context): groupsGithubTeams is an object of arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Jan 22, 2021
1 parent bb1ddcd commit d2aaeae
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/index-node12-dev.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index-node12-dev.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index-node12.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index-node12.cjs.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/context/accountContext.ts
Expand Up @@ -72,7 +72,7 @@ const initAccountContext = async (
const githubTeamNameToGroup = new Map<string, string>();
if (config.groupsGithubTeams) {
for (const groupName of getKeys(config.groupsGithubTeams)) {
Object.keys(config.groupsGithubTeams[groupName]).forEach((teamName) => {
config.groupsGithubTeams[groupName].forEach((teamName) => {
githubLoginToGroup.set(teamName, groupName);
});
}
Expand Down

0 comments on commit d2aaeae

Please sign in to comment.