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 b71be3d commit d108a7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Pentest/PentestService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ export class PentestService {
console.log(`Owner: ${owner}`);
console.log(`Repo: ${repo}`);

console.log('Going to get branch protection');
console.log('Going to get Pentest tickets from github boards');
await octokit.rest.projects
.listCards({
owner: owner,
repo: repo,
column_id: 123456789,
column_id: null,
})
.then(async (response) => {
console.log('Got the cards');
Expand All @@ -54,7 +54,7 @@ export class PentestService {
})
.catch((error) => {
core.warning('Error getting cards!');
core.warning('Error: ', error.message);
console.log('Error: ', error);
});

// owner: owner,
Expand Down

0 comments on commit d108a7c

Please sign in to comment.