Skip to content

Commit

Permalink
chore(lint): fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Dec 13, 2023
1 parent 89ad545 commit 4a40022
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
12 changes: 5 additions & 7 deletions src/routes/pr-lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ const { Router } = require('express');

const router = new Router();

router.get('/', (req, res) =>
router.get('/', (req, res) =>
res.render('pr-lookup', {
title: 'PR Lookup',
css: 'pr-lookup'
})
css: 'pr-lookup',
}),
);

router.get('/:number', (req, res) =>
res.redirect(`/pr/${req.params.number}`)
);
router.get('/:number', (req, res) => res.redirect(`/pr/${req.params.number}`));

module.exports = router;
module.exports = router;
2 changes: 1 addition & 1 deletion src/routes/pr.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { compareTagToCommit, getReleasesOrUpdate, getPR, getPRComments } = requir

const router = new Router();

Handlebars.registerHelper('formattedDate', (date) => new Date(date).toUTCString())
Handlebars.registerHelper('formattedDate', (date) => new Date(date).toUTCString());

async function getPRReleaseStatus(prNumber) {
const releases = [...(await getReleasesOrUpdate())].reverse();
Expand Down
2 changes: 1 addition & 1 deletion src/static/css/pr-lookup.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ button {

button:hover {
background-color: #0d4a59;
}
}

0 comments on commit 4a40022

Please sign in to comment.