Permalink
Browse files

Ensure options are converted to a string.

  • Loading branch information...
1 parent 8abb5c7 commit dd118e24d55de4a61e8a2f2c3829a3fa38a1be79 @tristandunn committed Oct 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/browser.js
View
@@ -44,7 +44,7 @@ Browser.prototype.command = function() {
commands.push(length + "\n");
for (var index = 0; index < length; index++) {
- var option = options[index];
+ var option = options[index].toString();
commands.push(Buffer.byteLength(option) + "\n" + option);
}

0 comments on commit dd118e2

Please sign in to comment.