diff --git a/dist/main/index.js b/dist/main/index.js index 6a6d540..5acd182 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -27942,8 +27942,10 @@ const extractCommits = () => __awaiter(this, void 0, void 0, function* () { return context.payload.commits; } // For PRs, we need to get a list of commits via the GH API: - const prCommitsUrl = typeof get(context, "payload.pull_request.commits_url"); + 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, { diff --git a/main.ts b/main.ts index 3d6bb6a..a2fb35c 100644 --- a/main.ts +++ b/main.ts @@ -19,6 +19,7 @@ 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 {