This will never test true -- you probably want `||` instead of `&&`, but the extra check is redundant with the added `|| []` above: you could either remove that or remove the `!providerList` check here.