Skip to content

Commit

Permalink
more lint again
Browse files Browse the repository at this point in the history
  • Loading branch information
circle3451 authored Jan 23, 2024
1 parent f4e327e commit 7e47ff6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/app-gocardless/banks/ANDELSKASSEN_FALLESKASSEN_FAELDKK1.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ export default {
*/
calculateStartingBalance(sortedTransactions = [], balances = []) {
const currentBalance = balances.find(
balance => 'closingBooked' === balance.balanceType
)
balance => 'closingBooked' === balance.balanceType,

Check failure on line 53 in src/app-gocardless/banks/ANDELSKASSEN_FALLESKASSEN_FAELDKK1.js

View workflow job for this annotation

GitHub Actions / lint

Replace `balance` with `(balance)`
);

return sortedTransactions.reduce((total, trans) => {
return total - amountToInteger(trans.transactionAmount.amount)
}, amountToInteger(currentBalance.balanceAmount.amount))
}
}
return total - amountToInteger(trans.transactionAmount.amount);
}, amountToInteger(currentBalance.balanceAmount.amount));
},
};

0 comments on commit 7e47ff6

Please sign in to comment.