Skip to content

Commit

Permalink
fix: string type
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Sep 17, 2020
1 parent 643b283 commit 723cded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/src/suggest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {md2text, removeSymbols} from './preprocess';

export async function suggest(inps: Inputs): Promise<void> {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const body: string = (context.issue as any).body;
const body = `${(context.issue as any).body}`;
const githubAPI = new GitHubAPI(inps.GithubToken, context.repo.owner, context.repo.repo);
await githubAPI.createComment(removeSymbols(md2text(body)));
}

0 comments on commit 723cded

Please sign in to comment.