diff --git a/dist/post_run/index.js b/dist/post_run/index.js index ee592e7..faeb7c8 100644 --- a/dist/post_run/index.js +++ b/dist/post_run/index.js @@ -67793,10 +67793,6 @@ function fetchPatch() { core.info(`Not fetching patch for showing only new issues because it's not a pull request or push context: event name is ${ctx.eventName}`); return ``; } - if (!patch) { - core.info(`Not using patch for showing only new issues because it's empty`); - return ``; - } try { const tempDir = yield createTempDir(); const patchPath = path.join(tempDir, "pull.patch"); diff --git a/dist/run/index.js b/dist/run/index.js index fccb1f8..689d0ee 100644 --- a/dist/run/index.js +++ b/dist/run/index.js @@ -67793,10 +67793,6 @@ function fetchPatch() { core.info(`Not fetching patch for showing only new issues because it's not a pull request or push context: event name is ${ctx.eventName}`); return ``; } - if (!patch) { - core.info(`Not using patch for showing only new issues because it's empty`); - return ``; - } try { const tempDir = yield createTempDir(); const patchPath = path.join(tempDir, "pull.patch"); diff --git a/src/run.ts b/src/run.ts index e3cb1ec..be16f6b 100644 --- a/src/run.ts +++ b/src/run.ts @@ -40,11 +40,6 @@ async function fetchPatch(): Promise { return `` } - if (!patch) { - core.info(`Not using patch for showing only new issues because it's empty`) - return `` - } - try { const tempDir = await createTempDir() const patchPath = path.join(tempDir, "pull.patch")