Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ktrz committed Mar 27, 2024
1 parent 75d81ca commit ee3d6fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function getServerUrlObj(repositoryUrl: string | undefined): URL {
}

export function getServerUrl(repositoryUrl: string | undefined): string {
core.debug(`getServerUrl ${repositoryUrl}`);
core.warning(`getServerUrl ${repositoryUrl}`);
return getServerUrlObj(repositoryUrl).origin;
}

Expand Down
4 changes: 2 additions & 2 deletions src/write.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function findAlerts(curSuite: Benchmark, prevSuite: Benchmark, threshold: number
}

function getCurrentRepoMetadata() {
core.debug('getCurrentRepoMetadata');
core.warning('getCurrentRepoMetadata');
const { repo, owner } = github.context.repo;
const serverUrl = git.getServerUrl(github.context.payload.repository?.html_url);
return {
Expand Down Expand Up @@ -242,7 +242,7 @@ function buildAlertComment(
async function leaveComment(commitId: string, body: string, commentId: string, token: string) {
try {
core.debug('Sending comment:\n' + body);
core.debug('Boo');
core.warning('Boo');

const repoMetadata = getCurrentRepoMetadata();
const pr = github.context.payload.pull_request;
Expand Down

0 comments on commit ee3d6fb

Please sign in to comment.