Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix String deprecated methods #367

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nukosuke
Copy link

@nukosuke nukosuke commented Aug 19, 2019

Emacs 27.0.50 build 10
Elixir 1.8.1-otp-21
M-x alchemist-version Alchemist version: 1.8.2

When I run alchemist-mix (C-C a x), I got some warnings like this

スクリーンショット 2019-08-15 22 11 37

This patch changes as bellow.

  • Use String.trim/1 instead of String.strip/1
  • Use String.trim_trailing/1 instead of String.rstrip/1
  • Use String.to_charlist/1 instead of String.to_char_list/1

* Use String.trim/1 instead of String.strip/1

* Use String.trim_trailing/1 instead of String.rstrip/1

* Use String.to_charlist/1 instead of String.to_char_list/1

modified:   alchemist-server/lib/helpers/complete.exs
modified:   alchemist-server/lib/server/io.exs
modified:   alchemist-server/lib/server/socket.exs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant