Skip to content

Commit

Permalink
Updated method names
Browse files Browse the repository at this point in the history
  • Loading branch information
nbhoski committed Jul 9, 2024
1 parent 8b40c16 commit 6993282
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/buildSummary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ export function processAndDisplayBuildSummary() {
try {
unlinkSync(filePath);
} catch (e) {
console.error(`An error occurred while trying to delete the file ${filePath}:`, e);
console.error(`An error occurred while trying to delete the build summary file ${filePath}:`, e);
}
}
writeSummary(taskSummaryTableRows);
}

export function addTasks(tasks: Task): string[] {
export function getTaskDetails(tasks: Task): string[] {
let taskDetails: string[] = [];
taskDetails.push(tasks.name);
if (tasks.failed) {
Expand All @@ -76,7 +76,7 @@ export function addTasks(tasks: Task): string[] {

export function getTaskSummaryRows(task: Task, taskSummaryTableRows: string[][]): string[][] {
let taskDetails: string[] = [];
taskDetails = addTasks(task);
taskDetails = getTaskDetails(task);
taskSummaryTableRows.push(taskDetails);
return taskSummaryTableRows;
}

0 comments on commit 6993282

Please sign in to comment.