Skip to content

Commit bf452c6

Browse files
committed
change another exists? call to exist?
1 parent 22b7bc2 commit bf452c6

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
@@ -34,7 +34,7 @@ def initialize
3434
end
3535

3636
def download(dest_parent_dir)
37-
unless File.exists? dest_parent_dir
37+
unless File.exist? dest_parent_dir
3838
Dir.mkdir dest_parent_dir
3939
end
4040
uri = URI.parse(@http_path)

0 commit comments

Comments
 (0)