We wrap the callback with _.once so it should be only a stylistic change.

On Aug 23, 2013, at 10:57 AM, Justin Gallardo <notifications@github.com> wrote:

> In lib/driver.js:
> 
> >          // some errors we pass back. some we swallow and iterate over.
> >          if (err && err.name === 'NotFoundException') {
> >            callback(err, null);
> >            return;
> >          }
> >  
> > -        if (c.connected) {
> > -          con = c;
> > +        if (conn.connected) {
> > +          callback(null, conn);
> You'll want to return here.
> 
> —
> Reply to this email directly or view it on GitHub.