Skip to content

Commit

Permalink
fixed a jshint error
Browse files Browse the repository at this point in the history
  • Loading branch information
beatfactor committed Mar 17, 2014
1 parent 5948b7d commit 2f4617e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
}
}
Expand Down

0 comments on commit 2f4617e

Please sign in to comment.