From 5739f6105cb3500137087a2df475dbe365fbab5e Mon Sep 17 00:00:00 2001 From: Adrian Smijulj Date: Thu, 11 Jun 2020 09:44:04 +0200 Subject: [PATCH] feat: create action --- dist/main/index.js | 4 ---- main.ts | 4 ---- 2 files changed, 8 deletions(-) diff --git a/dist/main/index.js b/dist/main/index.js index 5acd182..6febde3 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -27943,15 +27943,11 @@ const extractCommits = () => __awaiter(this, void 0, void 0, function* () { } // For PRs, we need to get a list of commits via the GH API: const prCommitsUrl = get(context, "payload.pull_request.commits_url"); - console.log('ide check URL-a'); - console.log('dobeoo PR URL', prCommitsUrl); - console.log(context.payload); if (prCommitsUrl) { try { const { body } = yield got.get(prCommitsUrl, { responseType: "json", }); - console.log('dobeo vodyyyy', body); if (Array.isArray(body)) { return body.map((item) => item.commit); } diff --git a/main.ts b/main.ts index a2fb35c..d1d1a11 100644 --- a/main.ts +++ b/main.ts @@ -18,16 +18,12 @@ const extractCommits = async (): Promise => { // For PRs, we need to get a list of commits via the GH API: const prCommitsUrl = get(context, "payload.pull_request.commits_url"); - console.log('ide check URL-a') - console.log('dobeoo PR URL', prCommitsUrl) - console.log(context.payload) if (prCommitsUrl) { try { const { body } = await got.get(prCommitsUrl, { responseType: "json", }); - console.log('dobeo vodyyyy', body) if (Array.isArray(body)) { return body.map((item) => item.commit); }