mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-04 06:01:59 +08:00
Fix warning on Elixir master (#496)
This commit is contained in:
parent
22e5b8e4e5
commit
8776ccdf31
1 changed files with 1 additions and 2 deletions
|
@ -158,8 +158,7 @@ defmodule Livebook.FileSystem.S3.Signature do
|
|||
# Copied from https://github.com/ex-aws/ex_aws/blob/623478ed321ffc6c07fdd7236a2f0e03f1cbd517/lib/ex_aws/request/url.ex#L108
|
||||
defp uri_encode(url), do: URI.encode(url, &valid_path_char?/1)
|
||||
|
||||
# Space character
|
||||
defp valid_path_char?(?\ ), do: false
|
||||
defp valid_path_char?(?\s), do: false
|
||||
defp valid_path_char?(?/), do: true
|
||||
|
||||
defp valid_path_char?(c) do
|
||||
|
|
Loading…
Reference in a new issue