Skip to content

Commit

Permalink
Fix refiewers adding to pull request (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksercs authored May 3, 2021
1 parent f220463 commit 3000c1b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/tree/dataProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ export default class TreeDataProvider implements vscode.TreeDataProvider<Extende
}

getSelectedReviewers (): string[] {
return this.getSelectedByRootLabel(REVIEWERS_ROOT_LABEL).map(name => {
// TODO: get rid of it
return name?.match('\\((.*)$')?.[1].slice(0, -1);
}).filter(item => item !== undefined) as string[];
return this.getSelectedByRootLabel(REVIEWERS_ROOT_LABEL);
}

getSelectedLabels (): string[] {
Expand Down

0 comments on commit 3000c1b

Please sign in to comment.