From ebbd417e4732b17e409510f4a9205e1e7f920bbe Mon Sep 17 00:00:00 2001 From: Rhys Arkins Date: Wed, 4 Jul 2018 10:21:41 +0200 Subject: [PATCH] chore: prettier --- lib/workers/repository/process/sort.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/workers/repository/process/sort.js b/lib/workers/repository/process/sort.js index b0cda2787b..6932c9dad0 100644 --- a/lib/workers/repository/process/sort.js +++ b/lib/workers/repository/process/sort.js @@ -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; }