Hence why I am getting rid of it.
On May 8, 2014 10:36 AM, "Rick Waldron" <notifications@github.com> wrote:

> In lib/spark.js:
>
> >
> >
> > -if (interfaces) {
> > -  ipAddress = Object.keys(interfaces).reduce(function(accum, name) {
> > -    if (!accum) {
> > -      return interfaces[name].reduce(function(ip, iface) {
> > -        if (!ip && !iface.internal && iface.family === "IPv4") {
> > -          return iface.address;
> > -        }
> > -        return ip;
> > -      }, "");
> > -    } else {
> > -      return accum;
> > -    }
> > -  }, null);
> > -}
> > -
>
> Good, I hated this code.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rwaldron/spark-io/pull/8/files#r12431668>
> .
>