Good catch
On Apr 8, 2014 5:12 PM, "Nolan Lawson" <notifications@github.com> wrote:

> In lib/adapters/leveldb.js:
>
> >          if (err && err.name === 'NotFoundError') {
> > -          insertDoc(currentDoc, processDocs);
> > +          insertDoc(currentDoc, function () {
> > +            api.unlock(currentDoc.metadata.id);
> > +            processDocs();
> > +          });
> >          }
> >          else {
>
> let's not have the else on its own line.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/pouchdb/pouchdb/pull/1734/files#r11411995>
> .
>