Skip to content

Commit

Permalink
Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
anarast committed Oct 6, 2021
1 parent 4b2adf4 commit 5c560ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/autoupdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ export class AutoUpdater {
}

async update(sourceEventOwner: string, pull: PullRequest): Promise<boolean> {
console.log('Updating...............');
const { ref } = pull.head;
ghCore.info(`Evaluating pull request #${pull.number}...`);

Expand Down Expand Up @@ -228,7 +227,6 @@ export class AutoUpdater {
}

async prNeedsUpdate(pull: PullRequest): Promise<boolean> {
console.log('Checking if PR needs update');
if (pull.merged === true) {
ghCore.warning('Skipping pull request, already merged.');
return false;
Expand Down Expand Up @@ -263,7 +261,9 @@ export class AutoUpdater {
}
} catch (e: unknown) {
if (e instanceof Error) {
`Caught error trying to evaluate PR: ${e.message}`;
ghCore.error(
`Caught error trying to compare base with head: ${e.message}`,
);
}
return false;
}
Expand Down

0 comments on commit 5c560ec

Please sign in to comment.