Skip to content

Commit 4ed8444

Browse files
szechyjsldez
authored andcommitted
format
1 parent 2bb2206 commit 4ed8444

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

dist/post_run/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67856,7 +67856,7 @@ function patchFromPush(ctx) {
6785667856
head: ctx.sha,
6785767857
mediaType: {
6785867858
format: `diff`,
67859-
}
67859+
},
6786067860
});
6786167861
if (patchResp.status !== 200) {
6786267862
core.warning(`failed to fetch pull request patch: response status is ${patchResp.status}`);

dist/run/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67856,7 +67856,7 @@ function patchFromPush(ctx) {
6785667856
head: ctx.sha,
6785767857
mediaType: {
6785867858
format: `diff`,
67859-
}
67859+
},
6786067860
});
6786167861
if (patchResp.status !== 200) {
6786267862
core.warning(`failed to fetch pull request patch: response status is ${patchResp.status}`);

src/run.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as core from "@actions/core"
22
import * as github from "@actions/github"
3-
import { Context } from '@actions/github/lib/context'
3+
import { Context } from "@actions/github/lib/context"
44
import { exec, ExecOptions } from "child_process"
55
import * as fs from "fs"
66
import * as path from "path"
@@ -36,7 +36,9 @@ async function fetchPatch(): Promise<string> {
3636
} else if (ctx.eventName === `push`) {
3737
patch = await patchFromPush(ctx)
3838
} else {
39-
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}`)
39+
core.info(
40+
`Not fetching patch for showing only new issues because it's not a pull request or push context: event name is ${ctx.eventName}`
41+
)
4042
return ``
4143
}
4244

@@ -104,7 +106,7 @@ async function patchFromPush(ctx: Context): Promise<string> {
104106
head: ctx.sha,
105107
mediaType: {
106108
format: `diff`,
107-
}
109+
},
108110
})
109111

110112
if (patchResp.status !== 200) {

0 commit comments

Comments
 (0)