Skip to content

Commit 049958b

Browse files
committed
[rb] missed references in the refactor
1 parent 9ad3f5a commit 049958b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rb/lib/selenium/server.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,15 @@ def download_server(uri, destination)
142142

143143
if (segment_count % 15).zero?
144144
percent = progress.fdiv(total) * 100
145-
print "#{CL_RESET}Downloading #{download_file_name}: #{percent.to_i}% (#{progress} / #{total})"
145+
print "#{CL_RESET}Downloading #{destination.path}: #{percent.to_i}% (#{progress} / #{total})"
146146
segment_count = 0
147147
end
148148

149149
destination.write(segment)
150150
end
151151
end
152152

153-
raise Error, "#{resp.code} for #{download_file_name}" unless resp.is_a? Net::HTTPSuccess
153+
raise Error, "#{resp.code} for #{destination.path}" unless resp.is_a? Net::HTTPSuccess
154154
end
155155
end
156156
end

0 commit comments

Comments
 (0)