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

Commit 4f28966

Browse files
committed
Make promises plugin a noop
1 parent 6f72cd7 commit 4f28966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class CloudantClient {
114114

115115
// 3). Plugin (no configuration): 'pluginName'
116116
case 'string':
117-
if (plugin === 'base' || plugin === 'default') {
117+
if (plugin === 'base' || plugin === 'default' || plugin === 'promises') {
118118
return; // noop
119119
}
120120

0 commit comments

Comments
 (0)