Skip to content

Commit

Permalink
chore(api): clean lints
Browse files Browse the repository at this point in the history
  • Loading branch information
clearloop committed Aug 2, 2024
1 parent e738c33 commit bb4a9ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
} from '@/types';
import { wait } from '@/utils';

const PR_WORKFLOW_ID: string = '.github/workflows/PR.yml';
const PR_WORKFLOW_ID = '.github/workflows/PR.yml';

/**
* API wrapper for the fork action and related usages.
Expand Down Expand Up @@ -161,7 +161,7 @@ export default class Api {
*
* NOTE: this function only works for `gear-tech/gear`
*/
async ensureJobs(head_sha: string, filter: string[]) {
async ensureJobs(head_sha: string, filter: string[]): Promise<void> {
const run = await this.latestRun(PR_WORKFLOW_ID, head_sha);
if (!run) return;

Expand Down

0 comments on commit bb4a9ca

Please sign in to comment.