Showing 1 of 1 total issue
Function useBrowserWithAccount
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
Open
async useBrowserWithAccount (accountObject, asyncFn) { const getAccount = (conf) => { if (conf instanceof AccountInterface) return [conf, false] if (check.object(conf)) { if (!(conf.account instanceof AccountInterface)) {
- Read upRead up