Skip to content

Commit

Permalink
DOP-4549 logging repo length
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Apr 16, 2024
1 parent 768c11b commit 5c7ce0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ export class SlackConnector implements ISlackConnector {

async displayRepoOptions(repos: string[], triggerId: string, isAdmin: boolean): Promise<any> {
const reposToShow = this._buildDropdown(repos);
console.log(reposToShow.length);
console.log(reposToShow[reposToShow.length - 1]);
const repoOptView = this._getDropDownView(triggerId, reposToShow, isAdmin);
const slackToken = this._config.get<string>('slackAuthToken');
const slackUrl = this._config.get<string>('slackViewOpenUrl');
Expand Down

0 comments on commit 5c7ce0b

Please sign in to comment.