Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Correct linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinsina authored Oct 22, 2024
1 parent f6da4a7 commit ba3e660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/marko-web-gtm/context/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = ({ obj, req }) => {
name: s.name,
}));
const emailSchedules = getAsArray(content, 'emailSchedules')
.map((schedule) => ({ name: schedule.newsletter.name, deploymentDate: schedule.deploymentDate}))
.map((schedule) => ({ name: schedule.newsletter.name, deploymentDate: schedule.deploymentDate }))
.sort((a, b) => a.deploymentDate - b.deploymentDate);
const magazineSchedules = getAsArray(content, 'magazineSchedules')
.map(({ issue: i }) => ({ name: i.name, mailDate: i.mailDate }))
Expand Down Expand Up @@ -66,6 +66,6 @@ module.exports = ({ obj, req }) => {
authors,
schedules,
emailSchedules,
magazineSchedules
magazineSchedules,
};
};

0 comments on commit ba3e660

Please sign in to comment.