GitHub user idearat opened a pull request:

    https://github.com/apache/couchdb-nano/pull/5

    Ensure 'qs' is real whenever qs will be manipulated.

    As described in https://github.com/dscape/nano/issues/313 there are a few 
places where the qs parameter is tested relative to being a function or string 
and defaulted, but no default is provided when the parameter is simply not 
present. This patch ensures that all methods with this pattern which 
subsequently try to manipulate the 'qs' variable will always have one. The 
patch uses the same syntax found in the current implementation of fetchDocs for 
consistency.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/TechnicalPursuit/couchdb-nano master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-nano/pull/5.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5
    
----
commit 32cc15c8f813e3fd7eb1be6c76d7639037f6cc28
Author: idearat <[email protected]>
Date:   2017-02-11T16:34:32Z

    Ensure 'qs' is real whenever qs will be manipulated.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to