File tree Expand file tree Collapse file tree 3 files changed +0
-13
lines changed Expand file tree Collapse file tree 3 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -67793,10 +67793,6 @@ function fetchPatch() {
67793
67793
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}`);
67794
67794
return ``;
67795
67795
}
67796
- if (!patch) {
67797
- core.info(`Not using patch for showing only new issues because it's empty`);
67798
- return ``;
67799
- }
67800
67796
try {
67801
67797
const tempDir = yield createTempDir();
67802
67798
const patchPath = path.join(tempDir, "pull.patch");
Original file line number Diff line number Diff line change @@ -67793,10 +67793,6 @@ function fetchPatch() {
67793
67793
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}`);
67794
67794
return ``;
67795
67795
}
67796
- if (!patch) {
67797
- core.info(`Not using patch for showing only new issues because it's empty`);
67798
- return ``;
67799
- }
67800
67796
try {
67801
67797
const tempDir = yield createTempDir();
67802
67798
const patchPath = path.join(tempDir, "pull.patch");
Original file line number Diff line number Diff line change @@ -40,11 +40,6 @@ async function fetchPatch(): Promise<string> {
40
40
return ``
41
41
}
42
42
43
- if ( ! patch ) {
44
- core . info ( `Not using patch for showing only new issues because it's empty` )
45
- return ``
46
- }
47
-
48
43
try {
49
44
const tempDir = await createTempDir ( )
50
45
const patchPath = path . join ( tempDir , "pull.patch" )
You can’t perform that action at this time.
0 commit comments