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}