From 9205a3dbeca9a4b8d98505b6ec44305141e0ff88 Mon Sep 17 00:00:00 2001 From: Alessandro Jean Date: Fri, 21 May 2021 20:31:43 -0300 Subject: [PATCH] Remove debug statements. --- dist/index.js | 2 -- src/main.ts | 3 --- 2 files changed, 5 deletions(-) diff --git a/dist/index.js b/dist/index.js index 9b185cb..23982a5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -360,8 +360,6 @@ function run() { core.info('Failed to fetch the members from the organization'); return; } - core.info(`Members count: ${allowedMembers.data.length.toString()}`); - core.info('Members: ' + allowedMembers.data.map(m => m.login.substring(0, 2)).join(', ')); if (allowedMembers.data.find(member => member.login === commentUser.login)) { yield COMMANDS[commandToRun](client); } diff --git a/src/main.ts b/src/main.ts index 0275397..e97a34a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -57,9 +57,6 @@ async function run() { return; } - core.info(`Members count: ${allowedMembers.data.length.toString()}`); - core.info('Members: ' + allowedMembers.data.map(m => m.login.substring(0, 2)).join(', ')); - if (allowedMembers.data.find(member => member.login === commentUser.login)) { await COMMANDS[commandToRun](client); } else {