From 69fcc01b472c26771115cc9eda399159e19b30ea Mon Sep 17 00:00:00 2001 From: Jarun Madhesh Date: Fri, 9 Jan 2026 17:55:56 +0530 Subject: [PATCH] Remove the error added for testing Signed-off-by: Jarun Madhesh --- dist/index.js | 1 - handlers/pr.js | 1 - 2 files changed, 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 50be3bc..6e7cb4c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -328,7 +328,6 @@ async function raisePrToAllStagingBranches(context, onMergeConflict) { try { let stagingBranchNames = await fetchingStagingBranchNames(context) console.log(`Raising PR to all staging branches - ${stagingBranchNames.join(", ")}`) - throw new Error("Throwing a dummy error") return stagingBranchNames.map(async (branchName) => { let existingOpenPr = await github.fetchOpenPr(context, masterBranch, branchName); if (existingOpenPr) { diff --git a/handlers/pr.js b/handlers/pr.js index ac2a503..8bc30d3 100644 --- a/handlers/pr.js +++ b/handlers/pr.js @@ -136,7 +136,6 @@ async function raisePrToAllStagingBranches(context, onMergeConflict) { try { let stagingBranchNames = await fetchingStagingBranchNames(context) console.log(`Raising PR to all staging branches - ${stagingBranchNames.join(", ")}`) - throw new Error("Throwing a dummy error") return stagingBranchNames.map(async (branchName) => { let existingOpenPr = await github.fetchOpenPr(context, masterBranch, branchName); if (existingOpenPr) {