Skip to content

Commit

Permalink
Update open-uri usage in web server
Browse files Browse the repository at this point in the history
  • Loading branch information
laumacirule committed Oct 4, 2024
1 parent d010e53 commit ae57843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/warbler/web_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def local_path
FileUtils.mkdir_p File.dirname(cached_path) #:nocov:
require 'open-uri' #:nocov:
begin
open(download_url) do |stream| #:nocov:
URI.open(download_url) do |stream| #:nocov:
File.open(cached_path, "wb") do |f| #:nocov:
while buf = stream.read(4096) #:nocov:
f << buf #:nocov:
Expand Down

0 comments on commit ae57843

Please sign in to comment.