chore: prettier

This commit is contained in:
Rhys Arkins 2018-07-04 10:21:41 +02:00
parent fb6271e4f7
commit ebbd417e47

View file

@ -12,7 +12,8 @@ function sortBranches(branches) {
];
logger.trace({ branches }, 'branches');
branches.sort((a, b) => {
const sortDiff = sortOrder.indexOf(a.updateType) - sortOrder.indexOf(b.updateType);
const sortDiff =
sortOrder.indexOf(a.updateType) - sortOrder.indexOf(b.updateType);
if (sortDiff !== 0) {
return sortDiff;
}