Skip to content

Commit

Permalink
Merge 37efa6a into 69c7ba3
Browse files Browse the repository at this point in the history
  • Loading branch information
devoto13 authored Apr 29, 2020
2 parents 69c7ba3 + 37efa6a commit c9b7cf2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,8 @@ class Browser {
}

onResult (result) {
if (result.length) {
if (Array.isArray(result)) {
result.forEach(this.onResult, this)
return
} else if (this.isNotConnected()) {
this.lastResult.add(result)
this.emitter.emit('spec_complete', this, result)
Expand Down

0 comments on commit c9b7cf2

Please sign in to comment.