From 2f4617e44374ff99bb7b8458406ad44b4b66ce3b Mon Sep 17 00:00:00 2001 From: andrei Date: Mon, 17 Mar 2014 23:09:01 +0100 Subject: [PATCH] fixed a jshint error --- lib/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index bc47c95777..cd626904cb 100644 --- a/lib/index.js +++ b/lib/index.js @@ -74,8 +74,8 @@ Nightwatch.prototype.setOptions = function(options) { if (this.options.globals) { if (typeof this.options.globals == 'object') { - for (var key in this.options.globals) { - this.api.globals[key] = this.options.globals[key]; + for (var globalKey in this.options.globals) { + this.api.globals[globalKey] = this.options.globals[globalKey]; } } }