Skip to content

Commit

Permalink
Added logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanbokvad committed Sep 8, 2023
1 parent 624bea7 commit 8a72386
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Pentest/PentestService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ export class PentestService {
})
.then(async (response) => {
console.log('list for repo');
console.log(response.data);
const issues = response.data;
const customLabelIssues = issues.filter((issue) => {
return issue.labels.some((label: any) => label.name === pentestDate.boardsTag);
});
console.log('customLabelIssues', customLabelIssues);
})
.catch((error) => {
core.warning('Error getting project for repo!');
Expand Down

0 comments on commit 8a72386

Please sign in to comment.