Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit 52065c9

Browse files
authored
Merge pull request #400 from cloudant/dependabot/npm_and_yarn/eslint-4.18.2
Bump eslint from 3.19.0 to 4.18.2
2 parents 4019721 + 9ec810e commit 52065c9

File tree

14 files changed

+633
-727
lines changed

14 files changed

+633
-727
lines changed

cloudant.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function Cloudant(options, callback) {
8080
debug('Creating Nano instance with options: %j', nanoOptions);
8181
var nano = Nano(nanoOptions);
8282

83-
nano.cc = cloudantClient; // expose Cloudant client
83+
nano.cc = cloudantClient; // expose Cloudant client
8484
nano.basePlugin = require('./plugins/base.js'); // expose base plugin
8585

8686
// ===========================
@@ -109,7 +109,7 @@ function Cloudant(options, callback) {
109109
return nano.request({ path: path }, callback);
110110
};
111111

112-
// https://console.bluemix.net/docs/services/Cloudant/api/authorization.html#modifying-permissions
112+
// https://console.bluemix.net/docs/services/Cloudant/api/authorization.html#modifying-permissions
113113
var set_security = function(permissions, callback) { // eslint-disable-line camelcase
114114
var body = permissions;
115115
var prefix = '_api/v2/db/'; // use `/_api/v2/<db>/_security` endpoint

lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ class CloudantClient {
267267
var self = this;
268268

269269
if (typeof options === 'string') {
270-
options = { method: 'GET', url: options }; // default GET
270+
options = { method: 'GET', url: options }; // default GET
271271
}
272272

273273
var request = {};

0 commit comments

Comments
 (0)