Skip to content

Commit

Permalink
feat(CB2-12693): linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Searle committed Jul 8, 2024
1 parent 76146f2 commit da2b513
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/services/RetroGenerationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class RetroGenerationService {
// Populate activity report
const detailsTemplate: any = template.reportTemplate.activityDetails[i];
const testResult: TestResultSchema = event.activity;
const testType: TestTypeSchema[] = testResult.testTypes;
const testTypes: TestTypeSchema[] = testResult.testTypes;
const additionalTestTypeNotes: string = testType[0].prohibitionIssued ? "Prohibition was issued" : "none";
let defects: string = "";
let reasonForAbandoning: string = "";
Expand Down Expand Up @@ -198,7 +198,6 @@ class RetroGenerationService {
}
// Sorting the list by StartTime
const sortDateAsc = (date1: IActivitiesList, date2: IActivitiesList) => {
console.log(date1);
const date = new Date(date1.startTime).toISOString();
const dateToCompare = new Date(date2.startTime).toISOString();
if (date > dateToCompare) {
Expand Down

0 comments on commit da2b513

Please sign in to comment.