Comparing version 2.1.0 to 2.1.1
@@ -109,3 +109,3 @@ module.exports = chainit; | ||
if((typeof args[args.length - 1] === 'function') && (!ctx.constructor || ctx.constructor.name !== 'WebdriverJs' || fnName.indexOf('execute') === -1 || args.length > 1)) { | ||
if((typeof args[args.length - 1] === 'function') && (!ctx.constructor || ctx.constructor.name !== 'WebdriverIO' || fnName.indexOf('execute') === -1 || args.length > 1)) { | ||
customCb = args.pop(); | ||
@@ -112,0 +112,0 @@ } |
{ | ||
"name": "chainit", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Turn an asynchronous JavaScript api into an asynchronous chainable JavaScript api.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package