From 5ff743a4c54a51bce7519ec37c9decc3eb9bab0a Mon Sep 17 00:00:00 2001 From: Andrew Stewart Date: Fri, 14 Nov 2014 11:06:21 -0800 Subject: [PATCH] Correct API inconsistency --- lib/driver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/driver.js b/lib/driver.js index bea5261..6299660 100644 --- a/lib/driver.js +++ b/lib/driver.js @@ -36,7 +36,7 @@ var Driver = module.exports = function Driver(opts) { this.details = {}; for (var opt in opts) { - if (['robot', 'name', 'adaptor', 'driver'].indexOf(opt) < 0) { + if (['robot', 'name', 'connection', 'driver'].indexOf(opt) < 0) { this.details[opt] = opts[opt]; } }