Fix deprecation warning with elixir 1.17 #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "gitlab-mr-iid-6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Elixir 1.17 deprecated single quotes for charlists and a
single-quote charlist is currently used in a System.cmd call.
However there’s no reason to use a charlist here and in fact
the function specs demands binaries be used here ever since
at least Elixir 1.0.4, possibly always, so let’s follow that.
See 1.0.4’s function spec which apart from adding parentheses still matches the one from 1.17.1
Pull request closed