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 2e4895e commit 0c2f2c6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/buildSummary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ tasks.taskDetails.forEach((task, index) => {
console.log('---');
arrayOfStringArrays.push(taskDetails);
});
const tableData = [
{data: 'Task Name', header: true},
{data: 'Status', header: true},
{data: 'Description', header: true},
{data: 'Duration (HH:MM:SS)', header: true},
arrayOfStringArrays.forEach(subArray => {
t.push(subArray);
});
];

let resultArrayOfStrings: string[] = arrayOfStringArrays.map(subArray =>
subArray
);

core.summary
.addHeading('MATLAB Build Results')
.addTable([])
.addTable([ {data: 'Task Name', header: true},
{data: 'Status', header: true},
{data: 'Description', header: true},
{data: 'Duration (HH:MM:SS)', header: true}],
resultArrayOfStrings

])

Check failure on line 63 in src/buildSummary.ts

View workflow job for this annotation

GitHub Actions / Build and Test

',' expected.
.write()
}

0 comments on commit 0c2f2c6

Please sign in to comment.