diff --git a/dist/main/index.js b/dist/main/index.js index 1b72894..6a6d540 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -27943,11 +27943,13 @@ 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 = typeof get(context, "payload.pull_request.commits_url"); + console.log('ide check URL-a'); 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 b34eb81..20973ca 100644 --- a/main.ts +++ b/main.ts @@ -18,12 +18,14 @@ const extractCommits = async (): Promise => { // For PRs, we need to get a list of commits via the GH API: const prCommitsUrl = typeof get(context, "payload.pull_request.commits_url"); + console.log('ide check URL-a') 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); }