Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Mar 7, 2020
1 parent 48c03e1 commit ec51614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function run(): Promise<void> {
const labelEvent = context.payload.action;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const labelName = (context.payload as any).label.name;
let issueNumber = '';
let issueNumber = 0;
if (eventName === 'issues') {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
issueNumber = (context.payload as any).issue.number;
Expand Down

0 comments on commit ec51614

Please sign in to comment.