Skip to content

Commit 352e1d1

Browse files
authored
Merge 35029ad into 3b854ad
2 parents 3b854ad + 35029ad commit 352e1d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class Browser {
152152
}
153153

154154
onResult (result) {
155-
if (result.length) {
155+
if (Array.isArray(result)) {
156156
result.forEach(this.onResult, this)
157157
return
158158
} else if (this.isNotConnected()) {

0 commit comments

Comments
 (0)