Skip to content

Commit

Permalink
Make the linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
codello committed Mar 26, 2024
1 parent 7fab67d commit 930af50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/b2_download_strategy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def initialize(url, name, version, **meta)
parsed = URI(url)
raise "Invalid scheme for B2: #{parsed.scheme}" if parsed.scheme != "b2"
if parsed.host != "backblazeb2.com"
# Maybe this is too restrictive?
raise "Currently only backblazeb2.com is supported as B2 host: #{parsed.host}"
end

Expand Down

0 comments on commit 930af50

Please sign in to comment.