Skip to content

Commit

Permalink
Update deps and fix url generation for bucket option
Browse files Browse the repository at this point in the history
  • Loading branch information
achempion committed Feb 20, 2022
1 parent 2c6061e commit abd4657
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/waffle/storage/s3.ex
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,6 @@ defmodule Waffle.Storage.S3 do
Application.get_env(:waffle, :virtual_host) || false
end

defp s3_bucket(definition), do: definition.bucket() |> parse_bucket()

defp s3_bucket(definition, file_and_scope) do
definition.bucket(file_and_scope) |> parse_bucket()
end
Expand Down

0 comments on commit abd4657

Please sign in to comment.