Skip to content

Commit

Permalink
Fix Map type in api.ts (#127)
Browse files Browse the repository at this point in the history
Signed-off-by: igor.js <[email protected]>
  • Loading branch information
igorjs authored Sep 19, 2024
1 parent 399b663 commit bae5746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function getApi({ token, owner, repo }) {

// FIXME: Refactor this monstruosity ASAP - 04/05/2024
async function getWorkflowRuns(): Promise<WorkflowDataMapValues> {
const workflowsMap: Map<number, WorkflowDataMapEntry> = new Map();
const workflowsMap = new Map<number, WorkflowDataMapEntry>();

const workflows = await client.paginate(
client.rest.actions.listRepoWorkflows,
Expand Down

0 comments on commit bae5746

Please sign in to comment.