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 @@ -66949,10 +66949,6 @@ function fetchPatch() {
66949
66949
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}`);
66950
66950
return ``;
66951
66951
}
66952
- if (!patch) {
66953
- core.info(`Not using patch for showing only new issues because it's empty`);
66954
- return ``;
66955
- }
66956
66952
try {
66957
66953
const tempDir = yield createTempDir();
66958
66954
const patchPath = path.join(tempDir, "pull.patch");
Original file line number Diff line number Diff line change @@ -66949,10 +66949,6 @@ function fetchPatch() {
66949
66949
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}`);
66950
66950
return ``;
66951
66951
}
66952
- if (!patch) {
66953
- core.info(`Not using patch for showing only new issues because it's empty`);
66954
- return ``;
66955
- }
66956
66952
try {
66957
66953
const tempDir = yield createTempDir();
66958
66954
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