Skip to content

Commit

Permalink
exist? instead of exists?
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazhuu committed Mar 17, 2023
1 parent c5e8cc9 commit 22b7bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/browserstack/localbinary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def binary_path
dest_parent_dir = get_available_dirs
binary_path = File.join(dest_parent_dir, "BrowserStackLocal#{".exe" if @windows}")

if File.exists? binary_path
if File.exist? binary_path
binary_path
else
binary_path = download(dest_parent_dir)
Expand Down

0 comments on commit 22b7bc2

Please sign in to comment.