Skip to content

Commit 22b7bc2

Browse files
committed
exist? instead of exists?
1 parent c5e8cc9 commit 22b7bc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/browserstack/localbinary.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def binary_path
6363
dest_parent_dir = get_available_dirs
6464
binary_path = File.join(dest_parent_dir, "BrowserStackLocal#{".exe" if @windows}")
6565

66-
if File.exists? binary_path
66+
if File.exist? binary_path
6767
binary_path
6868
else
6969
binary_path = download(dest_parent_dir)

0 commit comments

Comments
 (0)