From 93189f59ca717c5ec816968c703de94efa011542 Mon Sep 17 00:00:00 2001 From: hocgin Date: Wed, 20 Mar 2024 02:19:31 +0800 Subject: [PATCH] dev --- src/core.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core.ts b/src/core.ts index ecee136..e1f733a 100644 --- a/src/core.ts +++ b/src/core.ts @@ -3,12 +3,12 @@ import * as github from '@actions/github'; import {Inputs, Outputs} from "./main"; -type GetContentResponseType = any; +// declare GetContentResponseType = any; // @ts-ignore const tag = (prefix: string) => `${prefix.padEnd(9)} |` -async function getFileContents(branch: string, owner: string, repo: string, filepath: string, token: string): Promise { +async function getFileContents(branch: string, owner: string, repo: string, filepath: string, token: string): Promise { try { const octokit = github.getOctokit(token); const body = {owner, repo, ref: branch, path: filepath}