Closed christianbundy closed 4 years ago
Nice, it seems to get me past that bug (can't verify everything works though because I run into some other bug (probably caused by me))
Thanks for the review! I'll merge since it sounds like this is better than not merging. Let me know if you track that bug down to any ssbc code!
When there are no interfaces the
interfaces
variable is set to an empty array, which doesn't play nicely with reduce(). This commit sets the initial value of reduce to[]
, which lets us concatenate the arrays without throwing a TypeError. The error being solved, which was reported by @powersource: