Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
hocgin committed Mar 19, 2024
1 parent f6039c4 commit 93189f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<GetContentResponseType | undefined> {
async function getFileContents(branch: string, owner: string, repo: string, filepath: string, token: string): Promise<any | undefined> {
try {
const octokit = github.getOctokit(token);
const body = {owner, repo, ref: branch, path: filepath}
Expand Down

0 comments on commit 93189f5

Please sign in to comment.