From 4ed8444b7098b3d048ee0107b1fa0e625e44ce94 Mon Sep 17 00:00:00 2001 From: Jared Szechy Date: Wed, 20 Jul 2022 14:29:50 -0400 Subject: [PATCH] format --- dist/post_run/index.js | 2 +- dist/run/index.js | 2 +- src/run.ts | 8 +++++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/dist/post_run/index.js b/dist/post_run/index.js index faeb7c829d..0f49b3310b 100644 --- a/dist/post_run/index.js +++ b/dist/post_run/index.js @@ -67856,7 +67856,7 @@ function patchFromPush(ctx) { head: ctx.sha, mediaType: { format: `diff`, - } + }, }); if (patchResp.status !== 200) { core.warning(`failed to fetch pull request patch: response status is ${patchResp.status}`); diff --git a/dist/run/index.js b/dist/run/index.js index 689d0ee1c0..aa1fb7913f 100644 --- a/dist/run/index.js +++ b/dist/run/index.js @@ -67856,7 +67856,7 @@ function patchFromPush(ctx) { head: ctx.sha, mediaType: { format: `diff`, - } + }, }); if (patchResp.status !== 200) { core.warning(`failed to fetch pull request patch: response status is ${patchResp.status}`); diff --git a/src/run.ts b/src/run.ts index be16f6b21a..17c1e25c24 100644 --- a/src/run.ts +++ b/src/run.ts @@ -1,6 +1,6 @@ import * as core from "@actions/core" import * as github from "@actions/github" -import { Context } from '@actions/github/lib/context' +import { Context } from "@actions/github/lib/context" import { exec, ExecOptions } from "child_process" import * as fs from "fs" import * as path from "path" @@ -36,7 +36,9 @@ async function fetchPatch(): Promise { } else if (ctx.eventName === `push`) { patch = await patchFromPush(ctx) } else { - 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}`) + 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 `` } @@ -104,7 +106,7 @@ async function patchFromPush(ctx: Context): Promise { head: ctx.sha, mediaType: { format: `diff`, - } + }, }) if (patchResp.status !== 200) {