We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9455ac7 + 12fc3de commit 7ef2d27Copy full SHA for 7ef2d27
lib/browserstack/localbinary.rb
@@ -42,7 +42,7 @@ def download(dest_parent_dir)
42
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
43
44
res = http.get(uri.path)
45
- file = open(binary_path, 'w')
+ file = open(binary_path, 'wb')
46
file.write(res.body)
47
file.close
48
FileUtils.chmod 0755, binary_path
0 commit comments