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 22, 2024
1 parent 39a8f6e commit f4f6577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buildSummary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export async function readJsonFile(filePath: string): Promise<TaskList> {
}

export function addBuildSummaryTable(tasks: TaskList): void {
const header: string[] = ['Task Name', 'Description', 'status', 'skipped', 'duration'];
const header: string[] = [{data: 'Task Name', header: true}, {data: 'Status', header: true}, {data: 'Description', header: true}, {data: 'Duration (HH:MM:SS)', header: true}];

Check failure on line 32 in src/buildSummary.ts

View workflow job for this annotation

GitHub Actions / Build and Test

Type '{ data: string; header: true; }' is not assignable to type 'string'.

Check failure on line 32 in src/buildSummary.ts

View workflow job for this annotation

GitHub Actions / Build and Test

Type '{ data: string; header: true; }' is not assignable to type 'string'.

Check failure on line 32 in src/buildSummary.ts

View workflow job for this annotation

GitHub Actions / Build and Test

Type '{ data: string; header: true; }' is not assignable to type 'string'.

Check failure on line 32 in src/buildSummary.ts

View workflow job for this annotation

GitHub Actions / Build and Test

Type '{ data: string; header: true; }' is not assignable to type 'string'.
console.log("Task Details:");
let arrayOfStringArrays: string[][] = [];
arrayOfStringArrays.push(header);
Expand Down

0 comments on commit f4f6577

Please sign in to comment.