```\nFile: VaultAccountAction.sol\n        if (vaultAccount.accountDebtUnderlying == 0 && vaultAccount.vaultShares == 0) {\n            // If the account has no position in the vault at this point, set the maturity to zero as well\n            vaultAccount.maturity = 0;\n        }\n        vaultAccount.setVaultAccount({vaultConfig: vaultConfig, checkMinBorrow: true});\n\n        // It's possible that the user redeems more vault shares than they lend (it is not always the case\n        // that they will be increasing their collateral ratio here, so we check that this is the case). No\n        // need to check if the account has exited in full (maturity == 0).\n        if (vaultAccount.maturity != 0) {\n            IVaultAccountHealth(address(this)).checkVaultAccountCollateralRatio(vault, account);\n        }\n```\n