Skip to content
Snippets Groups Projects
Commit ebbd417e authored by Rhys Arkins's avatar Rhys Arkins
Browse files

chore: prettier

parent fb6271e4
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,8 @@ function sortBranches(branches) { ...@@ -12,7 +12,8 @@ function sortBranches(branches) {
]; ];
logger.trace({ branches }, 'branches'); logger.trace({ branches }, 'branches');
branches.sort((a, b) => { 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) { if (sortDiff !== 0) {
return sortDiff; return sortDiff;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment