scottohara/loot

View on GitHub
src/transactions/models/transaction.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function invalidateCaches has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private invalidateCaches(transaction: Transaction): void {
        this.invalidateCache(this.accountModel, transaction.primary_account);
        this.invalidateCache(
            this.payeeModel,
            (transaction as PayeeCashTransaction).payee as Payee,
Severity: Minor
Found in src/transactions/models/transaction.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status