Skip to content

Commit

Permalink
Merge pull request elixir-editors#88 from JakeBecker/elixir-1.7-compat
Browse files Browse the repository at this point in the history
Disable custom logger backend on Elixir 1.7.0-dev due to incompatibility
  • Loading branch information
JakeBecker authored Jul 6, 2018
2 parents 1ef05b9 + e0d4307 commit f7797d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/language_server/lib/language_server/cli.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ defmodule ElixirLS.LanguageServer.CLI do
WireProtocol.intercept_output(&JsonRpc.print/1, &JsonRpc.print_err/1)
Launch.start_mix()

configure_logger()
# TODO: Figure out a safe way to use the custom logger backend in Elixir 1.7
unless Version.match?(System.version(), ">= 1.7.0-dev") do
configure_logger()
end

Application.ensure_all_started(:language_server, :permanent)
IO.puts("Started ElixirLS")

Expand Down

0 comments on commit f7797d7

Please sign in to comment.