We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9455ac7 commit 12fc3deCopy full SHA for 12fc3de
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