Skip to content

Commit ad4fc95

Browse files
authored
Revert "Log some auth info (#95)" (#96)
1 parent e725f96 commit ad4fc95

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

GithubCommentReader/index.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -524,14 +524,6 @@ async function webhook(params) {
524524
const log = params.log;
525525
const cli = getGHClient();
526526

527-
try {
528-
const u = await cli.users.getAuthenticated();
529-
log(`Authenticated as ${u.data.login}`);
530-
log(`Scopes: ${u.headers["x-oauth-scopes"]}`);
531-
} catch (e) {
532-
log(`Failed to get token user info: ${e}`);
533-
}
534-
535527
let lines = params.commentBody.split("\n").map((line) => line.trim());
536528
let hasTestIt = false;
537529
lines = lines.filter((line) => {

0 commit comments

Comments
 (0)