Skip to content

Commit 6ba2794

Browse files
committed
format
1 parent 348cf46 commit 6ba2794

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
@@ -67012,7 +67012,7 @@ function patchFromPush(ctx) {
6701267012
head: ctx.sha,
6701367013
mediaType: {
6701467014
format: `diff`,
67015-
}
67015+
},
6701667016
});
6701767017
if (patchResp.status !== 200) {
6701867018
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
@@ -67012,7 +67012,7 @@ function patchFromPush(ctx) {
6701267012
head: ctx.sha,
6701367013
mediaType: {
6701467014
format: `diff`,
67015-
}
67015+
},
6701667016
});
6701767017
if (patchResp.status !== 200) {
6701867018
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)