mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
chore: prettier
This commit is contained in:
parent
fb6271e4f7
commit
ebbd417e47
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue