Skip to content

Commit

Permalink
Testing JSON parse
Browse files Browse the repository at this point in the history
  • Loading branch information
nbhoski committed May 21, 2024
1 parent 11cfdcb commit c77e51c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/buildSummary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export async function readJsonFile(filePath: string): Promise<TaskList[]> {
}
}

export function addBuildSummaryTable(task: TaskList[]): void {
export function addBuildSummaryTable(tasks: TaskList[]): void {
console.log("Task Details:");
tasksData.taskDetails.forEach((task, index) => {
tasks.taskDetails.forEach((task, index) => {

Check failure on line 33 in src/buildSummary.ts

View workflow job for this annotation

GitHub Actions / Build and Test

Property 'taskDetails' does not exist on type 'TaskList[]'.

Check failure on line 33 in src/buildSummary.ts

View workflow job for this annotation

GitHub Actions / Build and Test

Parameter 'task' implicitly has an 'any' type.

Check failure on line 33 in src/buildSummary.ts

View workflow job for this annotation

GitHub Actions / Build and Test

Parameter 'index' implicitly has an 'any' type.
console.log(`Task ${index + 1}:`);
console.log(`Name: ${task.name}`);
console.log(`Description: ${task.description}`);
Expand Down

0 comments on commit c77e51c

Please sign in to comment.